avformat/sdr2: h264 stream needs parsing
authorPaul B Mahol <onemda@gmail.com>
Wed, 26 Feb 2014 17:46:45 +0000 (17:46 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 26 Feb 2014 17:46:45 +0000 (17:46 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/sdr2.c

index 99968da..82405f6 100644 (file)
@@ -51,6 +51,7 @@ static int sdr2_read_header(AVFormatContext *s)
     st->codec->width      = avio_rl32(s->pb);
     st->codec->height     = avio_rl32(s->pb);
     st->codec->codec_id   = AV_CODEC_ID_H264;
+    st->need_parsing      = AVSTREAM_PARSE_FULL;
 
     ast->codec->codec_type  = AVMEDIA_TYPE_AUDIO;
     ast->codec->channels    = 1;