diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-19 22:07:18 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-02-08 15:04:21 +0100 |
commit | 958e0f705dab60f4d11ab90e2ebe2b4e7393fb41 (patch) | |
tree | 7fde505575a78da28618486a188222ffde3f9b28 /doc/t2h.init | |
parent | 734a9bb05f2b5c09c43d6c26c75dae6af3f51fa2 (diff) | |
download | ffmpeg-958e0f705dab60f4d11ab90e2ebe2b4e7393fb41.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>
(cherry picked from commit 0ec56d1144fa4ea36950295987bb5f49c9747046)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'doc/t2h.init')
0 files changed, 0 insertions, 0 deletions