tis 2021-11-09 klockan 19:01 +0100 skrev Andreas Rheinhardt: > None of the muxers here has the AVFMT_NOSTREAMS flag set, > so it is checked generically that there are streams.
Didn't know about AVFMT_NOSTREAMS > > Signed-off-by: Andreas Rheinhardt <[email protected]> > --- > libavformat/mxfenc.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c > index 3b6604d0d6..fd9e2c4c48 100644 > --- a/libavformat/mxfenc.c > +++ b/libavformat/mxfenc.c > @@ -2507,9 +2507,6 @@ static int mxf_write_header(AVFormatContext *s) > uint8_t present[FF_ARRAY_ELEMS(mxf_essence_container_uls)] = > {0}; > int64_t timestamp = 0; > > - if (!s->nb_streams) > - return -1; Looks OK /Tomas _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
