avformat/wtvdec: populate codec_tag from BITMAPINFOHEADER

Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Peter Ross 2014-04-04 22:07:47 +11:00 committed by Michael Niedermayer
parent 8348bd198f
commit 0cc685e3ad
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}