[FFmpeg-soc] [soc]: r403 - in dvbmuxer: mpeg_pes.h mpeg_pes_enc.c pes.diff

realsun subversion at mplayerhq.hu
Sat Jul 14 16:05:40 CEST 2007


Author: realsun
Date: Sat Jul 14 16:05:39 2007
New Revision: 403

Log:
fixed some spelling mistakes.

Modified:
   dvbmuxer/mpeg_pes.h
   dvbmuxer/mpeg_pes_enc.c
   dvbmuxer/pes.diff

Modified: dvbmuxer/mpeg_pes.h
==============================================================================
--- dvbmuxer/mpeg_pes.h	(original)
+++ dvbmuxer/mpeg_pes.h	Sat Jul 14 16:05:39 2007
@@ -112,7 +112,7 @@ void ff_pes_write_packet(AVFormatContext
  * Find the stream to mux into the PES stream.
  * @param[in] ctx          the AVFormatContext
  * @param[in] packet_size  PES stream packet size
- * @param[in] flush        Flush after every single subtitle packet.Find the stream to mux into the PES strea
+ * @param[in] flush        Flush after every single subtitle packet.
  * @param[out] best_i      index of stream to be muxed
  * @return  On error a negative or zero value is returned, on success 1 is returned.
  */
@@ -155,10 +155,10 @@ int ff_pes_muxer_write(AVFormatContext *
 int ff_pes_remove_decoded_packets(AVFormatContext *ctx, int64_t scr);
 
 /*
- * Put a timestamp.
- * @param[in] pb        the IOContext to be written to
- * @param[in] id        stream id
- * @param[in] timestamp the time stamp
+ * Insert a timestamp into the ByteIOContext.
+ * @param[in] pb        the ByteIOContext to be written to
+ * @param[in] id        stream ID
+ * @param[in] timestamp the timestamp
  * @return  NULL
  */
 void ff_put_timestamp(ByteIOContext *pb, int id, int64_t timestamp);

Modified: dvbmuxer/mpeg_pes_enc.c
==============================================================================
--- dvbmuxer/mpeg_pes_enc.c	(original)
+++ dvbmuxer/mpeg_pes_enc.c	Sat Jul 14 16:05:39 2007
@@ -137,7 +137,7 @@ int ff_pes_muxer_write(AVFormatContext *
     }
 
             /* special stuffing byte that is always written
-               to prevent accidental generation of start codes. */
+               to prevent accidental generation of startcodes. */
              put_byte(&ctx->pb, 0xff);
 
              for(i=0;i<stuffing_size;i++)

Modified: dvbmuxer/pes.diff
==============================================================================
--- dvbmuxer/pes.diff	(original)
+++ dvbmuxer/pes.diff	Sat Jul 14 16:05:39 2007
@@ -888,8 +888,9 @@ Index: mpeg_pes_enc.c
 -
 -        if (s->is_mpeg2) {
              /* special stuffing byte that is always written
-                to prevent accidental generation of start codes. */
+-               to prevent accidental generation of start codes. */
 -            put_byte(&ctx->pb, 0xff);
++               to prevent accidental generation of startcodes. */
 +             put_byte(&ctx->pb, 0xff);
  
 -            for(i=0;i<stuffing_size;i++)
@@ -2069,7 +2070,7 @@ Index: mpeg_pes.h
 + * Find the stream to mux into the PES stream.
 + * @param[in] ctx          the AVFormatContext
 + * @param[in] packet_size  PES stream packet size
-+ * @param[in] flush        Flush after every single subtitle packet.Find the stream to mux into the PES strea
++ * @param[in] flush        Flush after every single subtitle packet.
 + * @param[out] best_i      index of stream to be muxed
 + * @return  On error a negative or zero value is returned, on success 1 is returned.
 + */
@@ -2112,10 +2113,10 @@ Index: mpeg_pes.h
 +int ff_pes_remove_decoded_packets(AVFormatContext *ctx, int64_t scr);
 +
 +/*
-+ * Put a timestamp.
-+ * @param[in] pb        the IOContext to be written to
-+ * @param[in] id        stream id
-+ * @param[in] timestamp the time stamp
++ * Insert a timestamp into the ByteIOContext.
++ * @param[in] pb        the ByteIOContext to be written to
++ * @param[in] id        stream ID
++ * @param[in] timestamp the timestamp
 + * @return  NULL
 + */
 +void ff_put_timestamp(ByteIOContext *pb, int id, int64_t timestamp);



More information about the FFmpeg-soc mailing list