summaryrefslogtreecommitdiff
path: root/libavformat/wtvdec.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2014-04-04 22:07:47 +1100
committerMichael Niedermayer <michaelni@gmx.at>2014-04-04 17:20:38 +0200
commit0cc685e3add756a72fdd750802b3f7ceb3e7914f (patch)
treee3cfe1d2fd982f9e97552ab1a6b1f3f08b351454 /libavformat/wtvdec.c
parent8348bd198ff8ef2ad366ac7ad959193ef845d468 (diff)
avformat/wtvdec: populate codec_tag from BITMAPINFOHEADER
Signed-off-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wtvdec.c')
-rw-r--r--libavformat/wtvdec.c2
1 files changed, 1 insertions, 1 deletions
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;
}