mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-10 17:14:41 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user