Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol authored on 2013/09/14 05:38:26... | ... |
@@ -802,10 +802,8 @@ static int g2m_decode_frame(AVCodecContext *avctx, void *data, |
802 | 802 |
c->got_header = 1; |
803 | 803 |
|
804 | 804 |
if (c->width && c->height && c->framebuf) { |
805 |
- if ((ret = ff_get_buffer(avctx, pic, 0)) < 0) { |
|
806 |
- av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |
|
805 |
+ if ((ret = ff_get_buffer(avctx, pic, 0)) < 0) |
|
807 | 806 |
return ret; |
808 |
- } |
|
809 | 807 |
|
810 | 808 |
pic->key_frame = got_header; |
811 | 809 |
pic->pict_type = got_header ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P; |