Commit c5fd47fa authored by James Almer's avatar James Almer

Merge commit 'fc85646a'

* commit 'fc85646a':
  libopusdec: fix out-of-bounds read
  libschroedingerdec: fix leaking of framewithpts
  libschroedingerdec: don't produce empty frames

This commit is a noop, see

a86ebbf7
3c0328d5
8c8f543bMerged-by: 's avatarJames Almer <jamrial@gmail.com>
parents bceb3d0f fc85646a
......@@ -309,9 +309,9 @@ static int libschroedinger_decode_frame(AVCodecContext *avctx,
framewithpts = ff_schro_queue_pop(&p_schro_params->dec_frame_queue);
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;
}
memcpy(avframe->data[0],
framewithpts->frame->components[0].data,
......
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