Commit bea91b8c authored by Ramiro Polla's avatar Ramiro Polla

Remove useless img_read_close().

Originally committed as revision 13674 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 23779221
...@@ -303,11 +303,6 @@ static int img_read_packet(AVFormatContext *s1, AVPacket *pkt) ...@@ -303,11 +303,6 @@ static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
} }
} }
static int img_read_close(AVFormatContext *s1)
{
return 0;
}
#ifdef CONFIG_MUXERS #ifdef CONFIG_MUXERS
/******************************************************/ /******************************************************/
/* image output */ /* image output */
...@@ -384,7 +379,7 @@ AVInputFormat image2_demuxer = { ...@@ -384,7 +379,7 @@ AVInputFormat image2_demuxer = {
image_probe, image_probe,
img_read_header, img_read_header,
img_read_packet, img_read_packet,
img_read_close, NULL,
NULL, NULL,
NULL, NULL,
AVFMT_NOFILE, AVFMT_NOFILE,
...@@ -398,7 +393,6 @@ AVInputFormat image2pipe_demuxer = { ...@@ -398,7 +393,6 @@ AVInputFormat image2pipe_demuxer = {
NULL, /* no probe */ NULL, /* no probe */
img_read_header, img_read_header,
img_read_packet, img_read_packet,
img_read_close,
}; };
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment