diff mpeg.c @ 683:095009fc2f35 libavformat

kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author michael
date Thu, 24 Feb 2005 19:08:50 +0000
parents b2ee9f2492d7
children 829c5c8e5cf2
line wrap: on
line diff
--- a/mpeg.c	Thu Feb 24 15:18:02 2005 +0000
+++ b/mpeg.c	Thu Feb 24 19:08:50 2005 +0000
@@ -530,6 +530,7 @@
 }
 
 
+#if 0 /* unused, remove? */
 /* return the exact available payload size for the next packet for
    stream 'stream_index'. 'pts' and 'dts' are only used to know if
    timestamps are needed in the packet header. */
@@ -613,6 +614,7 @@
     }
     return s->packet_size - buf_index; 
 }
+#endif
 
 /* Write an MPEG padding packet header. */
 static void put_padding_packet(AVFormatContext *ctx, ByteIOContext *pb,int packet_bytes)
@@ -979,6 +981,7 @@
     s->packet_number++;
 }
 
+#if 0 /* unused, remove? */
 static int64_t get_vcd_scr(AVFormatContext *ctx,int stream_index,int64_t pts)
 {
     MpegMuxContext *s = ctx->priv_data;
@@ -998,6 +1001,7 @@
 
     return scr;
 }    
+#endif
 
 static int remove_decoded_packets(AVFormatContext *ctx, int64_t scr){
 //    MpegMuxContext *s = ctx->priv_data;
@@ -1319,6 +1323,7 @@
     return val;
 }
 
+#if 0 /* unused, remove? */
 /* XXX: optimize */
 static int find_prev_start_code(ByteIOContext *pb, int *size_ptr)
 {
@@ -1351,6 +1356,7 @@
     *size_ptr = pos_start - pos;
     return start_code;
 }
+#endif
 
 /* read the next PES header. Return its position in ppos 
    (if not NULL), and its start code, pts and dts.