[FFmpeg-devel] [PATCH] ffmpeg: don't overwrite av_bsf_receive_packet return value before checking it

James Almer jamrial at gmail.com
Sat Nov 5 05:08:06 EET 2016


On 11/4/2016 8:13 AM, Michael Niedermayer wrote:
> On Fri, Nov 04, 2016 at 12:21:16AM -0300, James Almer wrote:
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  ffmpeg.c | 6 ++++--
>>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> LGTM
> 
> thx
> 
> PS: not sure ret == AVERROR(EAGAIN) should maybe be done earlier

Good idea. Applied that instead.

Thanks.



More information about the ffmpeg-devel mailing list