Changeset 18b4404d in ffmpeg

Timestamp:
Jun 18, 2012, 11:36:30 PM (12 years ago)
Author:
Stefano Sabatini <stefasab@gmail.com>
Branches:
master
Children:
c90e805
Parents:
0b2ecf82
git-author:
Stefano Sabatini <stefasab@gmail.com> (06/16/12 09:38:50)
git-committer:
Stefano Sabatini <stefasab@gmail.com> (06/18/12 23:36:30)
Message:

lavc/imgconvert: fix check on av_image_check_size() return code in avpicture_get_size()

The documentation states that av_image_check_size() will return a
negative value in case of error, while the check is done on ret != 0.

Also return a proper error code rather than -1 in case the check fails.

(No files)

Note: See TracChangeset for help on using the changeset viewer.