[FFmpeg-cvslog] avformat/img2dec: enable generic seeking for image pipes

Michael Niedermayer git at videolan.org
Sun Oct 5 00:32:24 CEST 2014


ffmpeg | branch: release/2.4 | Michael Niedermayer <michaelni at gmx.at> | Thu Sep 25 17:07:04 2014 +0200| [e1fd837888ce134e9b1af338345f32c7a414d8c0] | committer: Michael Niedermayer

avformat/img2dec: enable generic seeking for image pipes

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit ce6e46be72292a748f37af50bfd5001dc5daa0e7)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index c88db69..70bef9d 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -703,6 +703,7 @@ AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\
     .read_header    = ff_img_read_header,\
     .read_packet    = ff_img_read_packet,\
     .priv_class     = & imgname ## _class,\
+    .flags          = AVFMT_GENERIC_INDEX, \
     .raw_codec_id   = codecid,\
 };
 



More information about the ffmpeg-cvslog mailing list