[FFmpeg-soc] [soc]: r1203 - in dvbmuxer: mpeg_pes.h mpegenc.c

realsun subversion at mplayerhq.hu
Mon Aug 27 16:05:06 CEST 2007


Author: realsun
Date: Mon Aug 27 16:05:05 2007
New Revision: 1203

Log:
changed ff_get_nb_frames to ff_pes_get_nb_frames

Modified:
   dvbmuxer/mpeg_pes.h
   dvbmuxer/mpegenc.c

Modified: dvbmuxer/mpeg_pes.h
==============================================================================
--- dvbmuxer/mpeg_pes.h	(original)
+++ dvbmuxer/mpeg_pes.h	Mon Aug 27 16:05:05 2007
@@ -125,7 +125,7 @@ int ff_pes_find_beststream(AVFormatConte
  * @param[in] len    PES packet size
  * @return  the frame number to be muxed
  */
-int ff_get_nb_frames(AVFormatContext *ctx, PESStream *stream, int len);
+int ff_pes_get_nb_frames(AVFormatContext *ctx, PESStream *stream, int len);
 
 /**
  * Mux streams into a PES packet.

Modified: dvbmuxer/mpegenc.c
==============================================================================
--- dvbmuxer/mpegenc.c	(original)
+++ dvbmuxer/mpegenc.c	Mon Aug 27 16:05:05 2007
@@ -803,7 +803,7 @@ static int flush_packet(AVFormatContext 
                 bytestream_put_byte(&p, stream->lpcm_header[2]);
             } else if (id >= 0x40) {
                 /* AC3 */
-                nb_frames= ff_get_nb_frames(ctx, stream, payload_size - stuffing_size);
+                nb_frames= ff_pes_get_nb_frames(ctx, stream, payload_size - stuffing_size);
                 bytestream_put_byte(&p, nb_frames);
                 bytestream_put_be16(&p, trailer_size+1);
             }



More information about the FFmpeg-soc mailing list