[FFmpeg-devel] [PATCH] pass QDMC extradata to the decoder

Michael Niedermayer michaelni
Sun Feb 6 14:25:01 CET 2011


On Sun, Feb 06, 2011 at 01:54:03PM +0100, Sascha Sommer wrote:
> Hi,
> 
> I noticed that playing QDMC files does not work in MPlayer when the 
> libavformat demuxer is used.
> 
> One part of the problem seems to be that the extradata is not passed to the 
> binary decoder like it is done for QDM2.
> 
> Attached patch fixes this problem.
> 
> Regards
> 
> Sascha
> 
> 

>  libavcodec/avcodec.h |    1 +
>  libavformat/isom.c   |    1 +
>  libavformat/mov.c    |    4 ++--
>  3 files changed, 4 insertions(+), 2 deletions(-)
> 3ef8a30901d3849deec2e4cec5e1b09d4c9eff57  qdmc.patch
> diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
> index dbfb777..fc29bba 100644
> --- a/libavcodec/avcodec.h
> +++ b/libavcodec/avcodec.h
> @@ -389,6 +389,7 @@ enum CodecID {
>      CODEC_ID_BINKAUDIO_RDFT,
>      CODEC_ID_BINKAUDIO_DCT,
>      CODEC_ID_AAC_LATM,
> +    CODEC_ID_QDMC,
>  
>      /* subtitle codecs */
>      CODEC_ID_DVD_SUBTITLE= 0x17000,

ok, rest is for baptiste to review

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110206/334f5003/attachment.pgp>



More information about the ffmpeg-devel mailing list