diff options
author | James Almer <jamrial@gmail.com> | 2019-10-14 23:42:01 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-10-15 00:00:38 -0300 |
commit | 62f47225825ce0827570eb2c12033303d121e4ef (patch) | |
tree | 1acfffd3b4767d8122f62db9c4ce66e098123262 /libavcodec/av1_parse.h | |
parent | 1e0b6bc0b4d693d2e15c0721d83ed09ac6daf458 (diff) | |
download | ffmpeg-62f47225825ce0827570eb2c12033303d121e4ef.tar.gz |
avcodec/av1_parse: Use av_fast_realloc() for OBU array
Based on commits 22bec0d33f4231487547581a1f77e2e8e6eade88 and
cebb446911fdc6c42d5a480b441b025c399e4a88.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/av1_parse.h')
-rw-r--r-- | libavcodec/av1_parse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/av1_parse.h b/libavcodec/av1_parse.h index 864308f81d..f3d932bc55 100644 --- a/libavcodec/av1_parse.h +++ b/libavcodec/av1_parse.h @@ -56,6 +56,7 @@ typedef struct AV1Packet { AV1OBU *obus; int nb_obus; int obus_allocated; + unsigned obus_allocated_size; } AV1Packet; /** |