[SCM] libav/experimental: Do not set codec_tag when the container does not specify it.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:06:56 UTC 2013


The following commit has been merged in the experimental branch:
commit 7a562a31a34eaff9cffdd3baa4cd378f1f9af389
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Sun Sep 9 09:21:14 2007 +0000

    Do not set codec_tag when the container does not specify it.
    
    Originally committed as revision 10445 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index eb38d6f..152ef67 100644
--- a/libavformat/nuv.c
+++ b/libavformat/nuv.c
@@ -149,7 +149,6 @@ static int nuv_header(AVFormatContext *s, AVFormatParameters *ap) {
         vst = av_new_stream(s, ctx->v_id);
         vst->codec->codec_type = CODEC_TYPE_VIDEO;
         vst->codec->codec_id = CODEC_ID_NUV;
-        vst->codec->codec_tag = MKTAG('R', 'J', 'P', 'G');
         vst->codec->width = width;
         vst->codec->height = height;
         vst->codec->bits_per_sample = 10;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list