diff mpeg.c @ 3484:31a0f3b99ef7 libavformat

remove useless close funcs
author bcoudurier
date Thu, 19 Jun 2008 23:25:04 +0000
parents 7a0230981402
children 270e9f324405
line wrap: on
line diff
--- a/mpeg.c	Thu Jun 19 22:58:13 2008 +0000
+++ b/mpeg.c	Thu Jun 19 23:25:04 2008 +0000
@@ -542,11 +542,6 @@
     return 0;
 }
 
-static int mpegps_read_close(AVFormatContext *s)
-{
-    return 0;
-}
-
 static int64_t mpegps_read_dts(AVFormatContext *s, int stream_index,
                                int64_t *ppos, int64_t pos_limit)
 {
@@ -588,7 +583,7 @@
     mpegps_probe,
     mpegps_read_header,
     mpegps_read_packet,
-    mpegps_read_close,
+    NULL,
     NULL, //mpegps_read_seek,
     mpegps_read_dts,
     .flags = AVFMT_SHOW_IDS,