Commit 0cc685e3 authored by Peter Ross's avatar Peter Ross Committed by Michael Niedermayer

avformat/wtvdec: populate codec_tag from BITMAPINFOHEADER

Signed-off-by: 's avatarPeter Ross <pross@xvid.org>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 8348bd19
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment