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

Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 16 years ago
parent 3d0a94f699
commit 89ac55ada9
  1. 2
      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;
}

Loading…
Cancel
Save