lavf: Replace the ASF demuxer

Multimedia / Libav - Alexandra Hájková [gmail.com] - 28 June 2015 03:16 UTC

The old one is the result of the reverse engineering and guesswork. The new one has been written following the now-available specification.

This work is part of Outreach Program for Women Summer 2014 activities for the Libav project.

The fate references had to be changed because the old demuxer truncates the last frame in some cases, the new one handles it properly. The seek-test reference is changed because seeking works differently in the new demuxer. When seeking, the packet is not read from the stream directly, but it is rather constructed by the demuxer. That is why position is -1 now in the reference.

b08569a lavf: Replace the ASF demuxer
Changelog | 1 +
libavformat/asf.h | 21 -
libavformat/asfdec.c | 2530 ++++++++++++++++++++++-------------------
libavformat/asfenc.c | 21 +
libavformat/version.h | 4 +-
tests/ref/fate/wmv8-drm-nodec | 1 -
tests/ref/seek/lavf-asf | 54 +-
7 files changed, 1403 insertions(+), 1229 deletions(-)

Upstream: git.libav.org


  • Share