From 0cc685e3add756a72fdd750802b3f7ceb3e7914f Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Fri, 4 Apr 2014 22:07:47 +1100 Subject: avformat/wtvdec: populate codec_tag from BITMAPINFOHEADER Signed-off-by: Peter Ross Signed-off-by: Michael Niedermayer --- libavformat/wtvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c index bf27f291e7..597a11fbd4 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; } -- cgit v1.2.3