[FFmpeg-cvslog] avformat/sdr2: h264 stream needs parsing

Paul B Mahol git at videolan.org
Wed Feb 26 18:50:11 CET 2014


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Feb 26 17:46:45 2014 +0000| [9d297641ee0bcae51a503c6855000bd2455cdd35] | committer: Paul B Mahol

avformat/sdr2: h264 stream needs parsing

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d297641ee0bcae51a503c6855000bd2455cdd35
---

 libavformat/sdr2.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/sdr2.c b/libavformat/sdr2.c
index 99968da..82405f69d 100644
--- a/libavformat/sdr2.c
+++ b/libavformat/sdr2.c
@@ -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;



More information about the ffmpeg-cvslog mailing list