Commit 7ee35b93 authored by bcoudurier's avatar bcoudurier

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16611 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 27904cdf
......@@ -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