[FFmpeg-cvslog] avcodec/g2meet: remove redundant log message

Paul B Mahol git at videolan.org
Fri Sep 13 22:41:31 CEST 2013


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Sep 13 20:38:26 2013 +0000| [23bd0335af7080bb194413c7a27d620ae659647b] | committer: Paul B Mahol

avcodec/g2meet: remove redundant log message

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 libavcodec/g2meet.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavcodec/g2meet.c b/libavcodec/g2meet.c
index 3e81541..9a228b8 100644
--- a/libavcodec/g2meet.c
+++ b/libavcodec/g2meet.c
@@ -802,10 +802,8 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data,
         c->got_header = 1;
 
     if (c->width && c->height && c->framebuf) {
-        if ((ret = ff_get_buffer(avctx, pic, 0)) < 0) {
-            av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
+        if ((ret = ff_get_buffer(avctx, pic, 0)) < 0)
             return ret;
-        }
 
         pic->key_frame = got_header;
         pic->pict_type = got_header ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P;



More information about the ffmpeg-cvslog mailing list