[FFmpeg-devel] [PATCH 3/3] Enable parsing in FLV container
Alex Sukhanov
alx.sukhanov at gmail.com
Thu Dec 12 20:33:21 CET 2013
---
libavformat/flvdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index b19db0e..4401652 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -256,7 +256,7 @@ static int flv_set_video_codec(AVFormatContext *s, AVStream *vstream,
return 1; // 1 byte body size adjustment for flv_read_packet()
case FLV_CODECID_H264:
vcodec->codec_id = AV_CODEC_ID_H264;
- vstream->need_parsing = AVSTREAM_PARSE_FULL;
+ vstream->need_parsing = AVSTREAM_PARSE_HEADERS;
return 3; // not 4, reading packet type will consume one byte
case FLV_CODECID_MPEG4:
vcodec->codec_id = AV_CODEC_ID_MPEG4;
--
1.8.5.1
More information about the ffmpeg-devel
mailing list