|
@@ -309,9 +309,9 @@ static int libschroedinger_decode_frame(AVCodecContext *avctx, |
|
|
framewithpts = ff_schro_queue_pop(&p_schro_params->dec_frame_queue); |
|
|
framewithpts = ff_schro_queue_pop(&p_schro_params->dec_frame_queue); |
|
|
|
|
|
|
|
|
if (framewithpts && framewithpts->frame && framewithpts->frame->components[0].stride) { |
|
|
if (framewithpts && framewithpts->frame && framewithpts->frame->components[0].stride) { |
|
|
|
|
|
|
|
|
if ((ret = ff_get_buffer(avctx, avframe, 0)) < 0) |
|
|
|
|
|
|
|
|
if ((ret = ff_get_buffer(avctx, avframe, 0)) < 0) { |
|
|
goto end; |
|
|
goto end; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
memcpy(avframe->data[0], |
|
|
memcpy(avframe->data[0], |
|
|
framewithpts->frame->components[0].data, |
|
|
framewithpts->frame->components[0].data, |
|
|