1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

Merge commit '5c22c90c1d5050f1206e46494b193320ac2397cb'

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

See 37f4a093f7
7a02b364b6

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-11-12 01:14:52 -03:00
commit 6c0509ae86

View File

@ -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])