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 See37f4a093f7
7a02b364b6
Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
6c0509ae86
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user