aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2018-05-16 22:50:19 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2018-06-18 01:16:04 +0200
commit12f0cfede607c2ae0ea2a139890884d0903990b8 (patch)
tree8bd38416db6076083d26984c0e9718ae11b42eb1
parentada22c1c0f552056f9ac7dbfc3c5417b9ca94b98 (diff)
downloadffmpeg-12f0cfede607c2ae0ea2a139890884d0903990b8.tar.gz
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> (cherry picked from commit ab834b8f36c8157b7015e849405cbf6ae21e672f) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavcodec/g2meet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 2cf708a4f0..a1dec8d823 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -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;
}