1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

remove check, mxf muxer does not have track number limitation anymore

Originally committed as revision 17124 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-02-10 08:35:14 +00:00
parent 4a15f3ee99
commit c1425a14f1

View File

@ -1160,11 +1160,6 @@ static int mxf_write_header(AVFormatContext *s)
uint8_t present[FF_ARRAY_ELEMS(mxf_essence_container_uls)] = {0};
const int *samples_per_frame = NULL;
if (s->nb_streams > 17) {
av_log(s, AV_LOG_ERROR, "error, mxf muxer supports 17 tracks maximum\n");
return -1;
}
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];
MXFStreamContext *sc = av_mallocz(sizeof(*sc));