diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-01 02:21:37 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-01 02:21:37 +0400 |
commit | 8349be852be7f68fe0590584fd46c4d5f1c16b3d (patch) | |
tree | 629cc8dcb96fc314e28f5386f664b197652cb7c5 /libavformat/lxfdec.c | |
parent | 8da23be458f4249f8e4348fea775c12cb3da241c (diff) |
avformat/lxfdec: use a parser to parse video frame headers
lxf needs a parser (or would need to set a few fields explicitly).
Fixes Ticket2917
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/lxfdec.c')
-rw-r--r-- | libavformat/lxfdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c index 5c61d4fcb0..c854216215 100644 --- a/libavformat/lxfdec.c +++ b/libavformat/lxfdec.c @@ -257,6 +257,7 @@ static int lxf_read_header(AVFormatContext *s) st->codec->bit_rate = 1000000 * ((video_params >> 14) & 0xFF); st->codec->codec_tag = video_params & 0xF; st->codec->codec_id = ff_codec_get_id(lxf_tags, st->codec->codec_tag); + st->need_parsing = AVSTREAM_PARSE_HEADERS; av_log(s, AV_LOG_DEBUG, "record: %x = %i-%02i-%02i\n", record_date, 1900 + (record_date & 0x7F), (record_date >> 7) & 0xF, |