diff options
author | James Almer <jamrial@gmail.com> | 2017-11-12 01:14:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-11-12 01:14:52 -0300 |
commit | 6c0509ae860fe432338852ef050a312d5dd523e8 (patch) | |
tree | 79dd66fde32656a0571483fc2de1b35715b64dc4 /libavcodec | |
parent | d2ad6f11920e972d0ef53121f74d9e25a3eb4304 (diff) | |
parent | 5c22c90c1d5050f1206e46494b193320ac2397cb (diff) | |
download | ffmpeg-6c0509ae860fe432338852ef050a312d5dd523e8.tar.gz |
Merge commit '5c22c90c1d5050f1206e46494b193320ac2397cb'
* commit '5c22c90c1d5050f1206e46494b193320ac2397cb':
vp9_superframe_bsf: cache packets by creating new references instead of moving pointers
See 37f4a093f7f95241e4fcd582758504491e85e488
7a02b364b68c0bf7f065f5c217fae458f0efdb8d
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp9_superframe_bsf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp9_superframe_bsf.c b/libavcodec/vp9_superframe_bsf.c index ceead5559c..2ea49c672d 100644 --- a/libavcodec/vp9_superframe_bsf.c +++ b/libavcodec/vp9_superframe_bsf.c @@ -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]) |