diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-25 17:07:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-04 23:52:28 +0200 |
commit | e1fd837888ce134e9b1af338345f32c7a414d8c0 (patch) | |
tree | cd49cada7c9a0e5dc86c7f06a92bf8164387fe9d | |
parent | 1d109974880907d5c543c7e78f208c1c2534b6bb (diff) | |
download | ffmpeg-e1fd837888ce134e9b1af338345f32c7a414d8c0.tar.gz |
avformat/img2dec: enable generic seeking for image pipes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ce6e46be72292a748f37af50bfd5001dc5daa0e7)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/img2dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index c88db69782..70bef9d405 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,\ }; |