[FFmpeg-devel] [RFC][PATCH] avformat/flvdec: avoid reseting eof_reached to 0 silently
bbcallen at gmail.com
Thu Apr 16 11:06:36 CEST 2015
>>> 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_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",
> would break many user applications.
My fault, av_read_frame() returns AVERROR_EOF, not AVERROR(EOF)
More information about the ffmpeg-devel