Commit 89ac55ad authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

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

Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 3d0a94f6
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment