summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2008-06-06 17:02:06 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2008-06-06 17:02:06 +0000
commitbea91b8c2931e3263ca68003a888df2592176587 (patch)
tree606a4fdb57538d9bf43b63f118fe837ad6e8f7bc /libavformat/img2.c
parent23779221922c2e97e96402236710f4a043b27208 (diff)
Remove useless img_read_close().
Originally committed as revision 13674 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r--libavformat/img2.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c
index aeae62a7bd..2e570dd87f 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -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
/******************************************************/
/* image output */
@@ -384,7 +379,7 @@ AVInputFormat image2_demuxer = {
image_probe,
img_read_header,
img_read_packet,
- img_read_close,
+ NULL,
NULL,
NULL,
AVFMT_NOFILE,
@@ -398,7 +393,6 @@ AVInputFormat image2pipe_demuxer = {
NULL, /* no probe */
img_read_header,
img_read_packet,
- img_read_close,
};
#endif