[FFmpeg-devel] [PATCH] libavformat: not treat 0 as EOF

Jan Ekstrom jeebjp at gmail.com
Tue Oct 24 21:59:28 EEST 2017


On Tue, Oct 24, 2017 at 9:18 PM, Jan Ekstrom <jeebjp at gmail.com> wrote:
> This is a public API change, and I'm not sure if we were planning on
> this. I am not against the fact that zero is no longer implictly EOF,
> but this might have been worth a bit more notice as this does indeed
> break quite a few API clients as noted by nevcairiel as well. If it is
> considered that no further changes are required then I think we at the
> very least want to mention this in the change log as well as the
> doc/APIchanges file.
>

Also as another alternative we might put the new behavior under an
option. Thus those clients that want this behavior can get it, and
otherwise old clients don't just break. Then we can properly deprecate
the option and change the default then. If this makes any darn sense.
Because the final option is a revert and I don't think anyone here
wants that.


Best regards,
Jan


More information about the ffmpeg-devel mailing list