av_image_fill_pointers will return a negative error code in case of
failure, so we use the error code in the caller.
Jun Zhao (2):
lavc/decode: Fix the error number report if av_image_fill_pointers
fail.
lavu/frame: Add error report if av_image_fill_pointers fail.
libavcodec/decode.c | 2 +-
libavutil/frame.c | 10 ++++++----
2 files changed, 7 insertions(+), 5 deletions(-)
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel