[FFmpeg-cvslog] r16611 - trunk/libavformat/mpegtsenc.c

bcoudurier subversion
Thu Jan 15 00:53:32 CET 2009


Author: bcoudurier
Date: Thu Jan 15 00:53:31 2009
New Revision: 16611

Log:
consider other codecs packets contain only one access unit, not just audio

Modified:
   trunk/libavformat/mpegtsenc.c

Modified: trunk/libavformat/mpegtsenc.c
==============================================================================
--- trunk/libavformat/mpegtsenc.c	Thu Jan 15 00:49:13 2009	(r16610)
+++ trunk/libavformat/mpegtsenc.c	Thu Jan 15 00:53:31 2009	(r16611)
@@ -720,7 +720,7 @@ static int mpegts_write_packet(AVFormatC
                 break;
             }
         }
-    } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) {
+    } else {
         access_unit_index = pkt->data;
     }
 




More information about the ffmpeg-cvslog mailing list