changeset 3140:eaf450520726 libavformat

remove useless img_write_trailer func
author bcoudurier
date Fri, 14 Mar 2008 12:48:13 +0000
parents 4e6f5edefa76
children ae34d429acc6
files img2.c
diffstat 1 files changed, 2 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/img2.c	Wed Mar 12 23:58:46 2008 +0000
+++ b/img2.c	Fri Mar 14 12:48:13 2008 +0000
@@ -373,11 +373,6 @@
     return 0;
 }
 
-static int img_write_trailer(AVFormatContext *s)
-{
-    return 0;
-}
-
 #endif /* CONFIG_MUXERS */
 
 /* input */
@@ -420,7 +415,7 @@
     CODEC_ID_MJPEG,
     img_write_header,
     img_write_packet,
-    img_write_trailer,
+    NULL,
     AVFMT_NOFILE,
 };
 #endif
@@ -435,6 +430,6 @@
     CODEC_ID_MJPEG,
     img_write_header,
     img_write_packet,
-    img_write_trailer,
+    NULL,
 };
 #endif