[FFmpeg-devel] [PATCH v2] fftools/ffmpeg_mux: fix reporting muxer EOF as error

Nicolas George george at nsup.org
Mon Apr 24 23:41:53 EEST 2023


Marton Balint (12023-04-24):
> The API change is that muxers are no longer allowed to return AVERROR_EOF
> for an error condition.

There is no API change because applications are not allowed to write
muxers. At worst, it would be an internal API change.

But it is not even an internal API change, because AVERROR_EOF was not
allowed as a return code from a muxer: muxers return error codes, and
AVERROR_EOF, despite being negative, is not an error.

But in the end, you are right that the reasons given here make this
patch wrong.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230424/1ed3d191/attachment.sig>


More information about the ffmpeg-devel mailing list