[FFmpeg-devel] [PATCH] mpegtsenc: Add support to mux s302 stream

Michael Niedermayer michaelni at gmx.at
Fri Apr 6 18:32:24 CEST 2012


On Wed, Apr 04, 2012 at 08:48:22PM -0700, Thierry Foucu wrote:
> ---
>  libavformat/mpegtsenc.c |    9 ++++++++-
>  1 files changed, 8 insertions(+), 1 deletions(-)
[...]
> @@ -1070,7 +1078,6 @@ static int mpegts_write_packet_internal(AVFormatContext *s, AVPacket *pkt)
>      }
>  
>      if (st->codec->codec_type != AVMEDIA_TYPE_AUDIO || size > ts->pes_payload_size) {
> -        av_assert0(!ts_st->payload_size);
>          // for video and subtitle, write a single pes packet
>          mpegts_write_pes(s, st, buf, size, pts, dts, pkt->flags & AV_PKT_FLAG_KEY);
>          av_free(data);

why do you remove this assert ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120406/49ca85da/attachment.asc>


More information about the ffmpeg-devel mailing list