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

Michael Niedermayer git at videolan.org
Mon Jul 16 21:31:45 EEST 2018


ffmpeg | branch: release/3.3 | Michael Niedermayer <michael at niedermayer.cc> | Wed May 16 22:50:19 2018 +0200| [3be0bcbef6aa9b8b77766ce1e4f7320b1d33b2d7] | 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=3be0bcbef6aa9b8b77766ce1e4f7320b1d33b2d7
---

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

diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 89d269751e..8bf04b3d49 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