diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-14 23:53:31 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-01-14 23:53:31 +0000 |
commit | 89ac55ada9a7c77ef62e779edd90f45f3e32b837 (patch) | |
tree | 1369d3162ed372fa41e59add6480335ebd5c0686 /libavformat/mpegtsenc.c | |
parent | 3d0a94f699a6d1615aac6aa0158d6b16bbbfd32b (diff) | |
download | ffmpeg-89ac55ada9a7c77ef62e779edd90f45f3e32b837.tar.gz |
consider other codecs packets contain only one access unit, not just audio
Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r-- | libavformat/mpegtsenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 8f15f5b5b5..aa6334633c 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -720,7 +720,7 @@ static int mpegts_write_packet(AVFormatContext *s, AVPacket *pkt) break; } } - } else if (st->codec->codec_type == CODEC_TYPE_AUDIO) { + } else { access_unit_index = pkt->data; } |