[FFmpeg-devel] [PATCH 0/2] Fix error handle if av_image_fill_pointers fail

Jun Zhao mypopydev at gmail.com
Sun Oct 28 05:05:45 EET 2018


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(-)



More information about the ffmpeg-devel mailing list