mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
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:
parent
8348bd198f
commit
0cc685e3ad
@ -562,7 +562,7 @@ static int parse_videoinfoheader2(AVFormatContext *s, AVStream *st)
|
|||||||
AVIOContext *pb = wtv->pb;
|
AVIOContext *pb = wtv->pb;
|
||||||
|
|
||||||
avio_skip(pb, 72); // picture aspect ratio is unreliable
|
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;
|
return 72 + 40;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user