Commit a384127a authored by bcoudurier's avatar bcoudurier

remove useless img_write_trailer func

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12440 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1b71d086
...@@ -373,11 +373,6 @@ static int img_write_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -373,11 +373,6 @@ static int img_write_packet(AVFormatContext *s, AVPacket *pkt)
return 0; return 0;
} }
static int img_write_trailer(AVFormatContext *s)
{
return 0;
}
#endif /* CONFIG_MUXERS */ #endif /* CONFIG_MUXERS */
/* input */ /* input */
...@@ -420,7 +415,7 @@ AVOutputFormat image2_muxer = { ...@@ -420,7 +415,7 @@ AVOutputFormat image2_muxer = {
CODEC_ID_MJPEG, CODEC_ID_MJPEG,
img_write_header, img_write_header,
img_write_packet, img_write_packet,
img_write_trailer, NULL,
AVFMT_NOFILE, AVFMT_NOFILE,
}; };
#endif #endif
...@@ -435,6 +430,6 @@ AVOutputFormat image2pipe_muxer = { ...@@ -435,6 +430,6 @@ AVOutputFormat image2pipe_muxer = {
CODEC_ID_MJPEG, CODEC_ID_MJPEG,
img_write_header, img_write_header,
img_write_packet, img_write_packet,
img_write_trailer, NULL,
}; };
#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