Browse Source

avcodec/g2meet: ask for sample with overflowing RGB

Suggested-by: Tomas Härdin <tjoppen@acc.umu.se>

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.1
Michael Niedermayer 7 years ago
parent
commit
ab834b8f36
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/g2meet.c

+ 1
- 1
libavcodec/g2meet.c View File

@@ -557,7 +557,7 @@ static uint32_t epic_decode_pixel_pred(ePICContext *dc, int x, int y,
}

if (R<0 || G<0 || B<0 || R > 255 || G > 255 || B > 255) {
av_log(NULL, AV_LOG_ERROR, "RGB %d %d %d is out of range\n", R, G, B);
avpriv_request_sample(NULL, "RGB %d %d %d is out of range\n", R, G, B);
return 0;
}



Loading…
Cancel
Save