On Mon, Nov 27, 2017 at 08:41:10PM +0800, Pan Bian wrote: > In function ff_mpeg_ref_picture(), it returns 0 on the error path that > the return value of av_buffer_ref() is NULL. 0 indicates success, which > seems to deviate from the fact. Set ret to AVERROR(ENOMEM) to propagate > the error status to the callers. > > Signed-off-by: Pan Bian <[email protected]> > --- > libavcodec/mpegpicture.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-)
will apply thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Republics decline into democracies and democracies degenerate into despotisms. -- Aristotle
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
