>>> I want to let av_read_frame() tell us (user application) what to do next,
>>> by returning limited code, at least limited on special situation
>>> which need more handling, including
>>> AV_ERROR_EAGIN;
>>> AV_ERROR_END_OF_STREAM_YOU_NAME_IT;
>>> AV_ERROR_EXIT; // interrupted with interrupt call back.
>>
>> Yes, this sounds like a good idea. It's really how it should work.
>
> The difficult part is keeping "business as usual".
> Since AVERROR(EOF) is already a "De facto standard",
> AV_ERROR_END_OF_STREAM_YOU_NAME_IT
> would break many user applications.

My fault, av_read_frame() returns AVERROR_EOF, not AVERROR(EOF)
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to