Commit 23bd0335 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/g2meet: remove redundant log message

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 3dcd3e08
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment