Tomas Härdin: > tis 2021-11-09 klockan 19:01 +0100 skrev Andreas Rheinhardt: >> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> >> --- >> libavformat/mxfenc.c | 16 ++++++++-------- >> 1 file changed, 8 insertions(+), 8 deletions(-) > > Aha, this one does exactly what I just suggested with return values. > D'oh! >
No. It only does this with the errors from init, not from write_packet. The reason for this is that the other errors often blur the line between AVERROR(EINVAL) and AVERROR_INVALIDDATA, so I decided to do nothing about them. - Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".