[FFmpeg-soc] [soc]: r2343 - in dvbmuxer: mpegpes.h mpegpesenc.c mpegtsenc.c

bcoudurier subversion at mplayerhq.hu
Mon Jun 2 22:26:39 CEST 2008


Author: bcoudurier
Date: Mon Jun  2 22:26:39 2008
New Revision: 2343

Log:
rename pes_muxer_write -> pes_write_buf

Modified:
   dvbmuxer/mpegpes.h
   dvbmuxer/mpegpesenc.c
   dvbmuxer/mpegtsenc.c

Modified: dvbmuxer/mpegpes.h
==============================================================================
--- dvbmuxer/mpegpes.h	(original)
+++ dvbmuxer/mpegpes.h	Mon Jun  2 22:26:39 2008
@@ -156,7 +156,7 @@ void ff_pes_cal_header(StreamInfo *strea
  * @param [in] stuffing_size  Packet stuffing size
  * @return                    Bytes written to buffer
  */
-int ff_pes_muxer_write(AVFormatContext *ctx, int stream_index, uint8_t *buf,
+int ff_pes_write_buf(AVFormatContext *ctx, int stream_index, uint8_t *buf,
           int64_t pts, int64_t dts, int startcode,
           int header_len, int packet_size, int payload_size, int stuffing_size);
 

Modified: dvbmuxer/mpegpesenc.c
==============================================================================
--- dvbmuxer/mpegpesenc.c	(original)
+++ dvbmuxer/mpegpesenc.c	Mon Jun  2 22:26:39 2008
@@ -175,7 +175,7 @@ void ff_pes_cal_header(StreamInfo *strea
     }
 }
 
-int ff_pes_muxer_write(AVFormatContext *ctx, int stream_index, uint8_t *buf,
+int ff_pes_write_buf(AVFormatContext *ctx, int stream_index, uint8_t *buf,
     int64_t pts, int64_t dts, int startcode,
     int header_len, int packet_size, int payload_size, int stuffing_size)
 {

Modified: dvbmuxer/mpegtsenc.c
==============================================================================
--- dvbmuxer/mpegtsenc.c	(original)
+++ dvbmuxer/mpegtsenc.c	Mon Jun  2 22:26:39 2008
@@ -636,7 +636,7 @@ static int flush_packet(AVFormatContext 
                           &packet_size, &header_len, &pts, &dts,
                           &payload_size, &startcode, &stuffing_size,
                           &trailer_size, &pad_packet_bytes);
-        pes_size = ff_pes_muxer_write(ctx, stream_index, stream->payload,
+        pes_size = ff_pes_write_buf(ctx, stream_index, stream->payload,
                  pts, dts, stream->startcode, header_len,
                  packet_size, payload_size, stuffing_size);
         if(pes_size < 0)



More information about the FFmpeg-soc mailing list