Commit 6c0509ae authored by James Almer's avatar James Almer

Merge commit '5c22c90c'

* commit '5c22c90c':
  vp9_superframe_bsf: cache packets by creating new references instead of moving pointers

See 37f4a093
7a02b364Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents d2ad6f11 5c22c90c
......@@ -181,7 +181,7 @@ static int vp9_superframe_init(AVBSFContext *ctx)
VP9BSFContext *s = ctx->priv_data;
int n;
// alloc cached data
// alloc cache packets
for (n = 0; n < MAX_CACHE; n++) {
s->cache[n] = av_packet_alloc();
if (!s->cache[n])
......
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