mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
remove useless img_write_trailer func
Originally committed as revision 12440 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6e69586b44
commit
82213f68ba
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user