[FFmpeg-devel] [PATCH 2/2] avformat/wtvdec: populate codec_tag from BITMAPINFOHEADER

Peter Ross pross at xvid.org
Fri Apr 4 13:07:47 CEST 2014


Signed-off-by: Peter Ross <pross at xvid.org>
---
 libavformat/wtvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index bf27f29..597a11f 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -562,7 +562,7 @@ static int parse_videoinfoheader2(AVFormatContext *s, AVStream *st)
     AVIOContext *pb = wtv->pb;
 
     avio_skip(pb, 72);  // picture aspect ratio is unreliable
-    ff_get_bmp_header(pb, st, NULL);
+    st->codec->codec_tag = ff_get_bmp_header(pb, st, NULL);
 
     return 72 + 40;
 }
-- 
1.8.3.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140404/27e0be50/attachment.asc>


More information about the ffmpeg-devel mailing list