Skip to content
Snippets Groups Projects
Commit c5fd47fa authored by James Almer's avatar James Almer
Browse files

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
8c8f543b

Merged-by: default avatarJames Almer <jamrial@gmail.com>
parents bceb3d0f fc85646a
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment