diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-19 22:07:18 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-06-19 22:58:31 +0200 |
commit | 8f349b64813b348634042d96b9d104ada94dc538 (patch) | |
tree | 34357580468269a31e3cf31f3d62b380eeb8608e /ffplay.c | |
parent | c6e288a7cd3f92d09a59671f81119c9643d8589c (diff) | |
download | ffmpeg-8f349b64813b348634042d96b9d104ada94dc538.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 *).
Diffstat (limited to 'ffplay.c')
0 files changed, 0 insertions, 0 deletions