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

Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-01-14 23:53:31 +00:00
parent 3d0a94f699
commit 89ac55ada9
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}