[FFmpeg-cvslog] avcodec/g2meet: ask for sample with overflowing RGB

Michael Niedermayer git at videolan.org
Sat Jun 16 01:31:43 EEST 2018


ffmpeg | branch: release/4.0 | Michael Niedermayer <michael at niedermayer.cc> | Wed May 16 22:50:19 2018 +0200| [f2c253f083aa2d997604b0aaf7a0199532db96bb] | committer: Michael Niedermayer

avcodec/g2meet: ask for sample with overflowing RGB

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit ab834b8f36c8157b7015e849405cbf6ae21e672f)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2c253f083aa2d997604b0aaf7a0199532db96bb
---

 libavcodec/g2meet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     }
 



More information about the ffmpeg-cvslog mailing list