diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-19 22:07:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-28 08:03:18 +0200 |
commit | 0ec56d1144fa4ea36950295987bb5f49c9747046 (patch) | |
tree | 6f4bfb57c4c52fadc4c90e965b417d81ee78da35 /libavcodec/dpx.c | |
parent | e63e4c99c9de88b6765911da85e49e7e3be91bf0 (diff) | |
download | ffmpeg-0ec56d1144fa4ea36950295987bb5f49c9747046.tar.gz |
lavfi: fix realloc size computation in avfilter_add_format()
Replace sizeof((*avff)->formats)
with sizeof(*(*avff)->formats)
as the size of the array element is given by the pointed element
rather than by its pointer.
In particular fix computation with the pending patch when
sizeof(int64_t) != sizeof(int64_t *).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/dpx.c')
0 files changed, 0 insertions, 0 deletions