mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
3d0a94f699
commit
89ac55ada9
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue