aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-25 17:07:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-09-25 17:47:45 +0200
commitce6e46be72292a748f37af50bfd5001dc5daa0e7 (patch)
treea270c8dc1a3ad601877da29384e01c5efad054ea
parent6d35aba167a2333367298fced3724b16261dcdf9 (diff)
downloadffmpeg-ce6e46be72292a748f37af50bfd5001dc5daa0e7.tar.gz
avformat/img2dec: enable generic seeking for image pipes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/img2dec.c1
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,\
};