[FFmpeg-devel] [PATCH 2/2] avformat/img2dec: Run image2 probe again when file content data is available

Michael Niedermayer michaelni at gmx.at
Fri Sep 12 12:29:37 CEST 2014


This is part of the fix for Ticket 3901

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavformat/img2dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index a21429f..57c53fb 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -542,7 +542,7 @@ AVInputFormat ff_image2_demuxer = {
     .read_packet    = ff_img_read_packet,
     .read_close     = img_read_close,
     .read_seek      = img_read_seek,
-    .flags          = AVFMT_NOFILE,
+    .flags          = AVFMT_NOFILE | AVFMT_FILE,
     .priv_class     = &img2_class,
 };
 #endif
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list