aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-14 12:48:13 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-03-14 12:48:13 +0000
commit82213f68ba82a6f668b3374443dd660b95f3e382 (patch)
treea234680c9bde548b54b3168876416cbf8ab618ac
parent6e69586b4439d6ef82a736332eb550a73483e2df (diff)
downloadffmpeg-82213f68ba82a6f668b3374443dd660b95f3e382.tar.gz
remove useless img_write_trailer func
Originally committed as revision 12440 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/img2.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/libavformat/img2.c b/libavformat/img2.c
index 6e846df66f..68fcbc4536 100644
--- a/libavformat/img2.c
+++ b/libavformat/img2.c
@@ -373,11 +373,6 @@ static int img_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
-static int img_write_trailer(AVFormatContext *s)
-{
- return 0;
-}
-
#endif /* CONFIG_MUXERS */
/* input */
@@ -420,7 +415,7 @@ AVOutputFormat image2_muxer = {
CODEC_ID_MJPEG,
img_write_header,
img_write_packet,
- img_write_trailer,
+ NULL,
AVFMT_NOFILE,
};
#endif
@@ -435,6 +430,6 @@ AVOutputFormat image2pipe_muxer = {
CODEC_ID_MJPEG,
img_write_header,
img_write_packet,
- img_write_trailer,
+ NULL,
};
#endif