lavf: use the new bitstream filter for extracting extradata

Multimedia / Libav - Anton Khirnov [khirnov.net] - 16 October 2016 13:27 UTC

This also fixes a minor bug introduced in the codecpar conversion, where the termination condition for extracting the extradata does not match the actual extradata setting code. As a result, the packet durations made up by lavf go back to their values before the codecpar conversion. That is of little consequence since that code should eventually be dropped completely.

8e2ea69 lavf: use the new bitstream filter for extracting extradata
libavformat/internal.h | 9 ++++
libavformat/utils.c | 123 +++++++++++++++++++++++++++++++++++++++++-----
tests/ref/fate/iv8-demux | 10 ++--
tests/ref/fate/wtv-demux | 68 ++++++++++++-------------
4 files changed, 158 insertions(+), 52 deletions(-)

Upstream: git.libav.org


  • Share