~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavcodec/tiff_common.c

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
219
219
    char *ap;
220
220
    int i;
221
221
 
222
 
    if (count >= INT_MAX / sizeof(int8_t) || count <= 0)
 
222
    if (count >= INT_MAX / sizeof(int8_t) || count < 0)
223
223
        return AVERROR_INVALIDDATA;
224
224
    if (bytestream2_get_bytes_left(gb) < count * sizeof(int8_t))
225
225
        return AVERROR_INVALIDDATA;