Browse Source

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

Originally committed as revision 16611 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
89ac55ada9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpegtsenc.c

+ 1
- 1
libavformat/mpegtsenc.c 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;
}



Loading…
Cancel
Save