This is part of the fix for Ticket 3901

Signed-off-by: Michael Niedermayer <michae...@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

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to