diff options
author | Nicolas George <george@nsup.org> | 2014-07-15 19:26:52 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-07-17 18:12:34 +0200 |
commit | 099aff5c42aed8ab01b30f559bb576e4f595f0da (patch) | |
tree | 8e7a78f68c6f522d8c17d47f3c71d8285ab30a2d /libavcodec/x86/dsputil_x86.h | |
parent | 1d12df1ad78c2f271cb4e70468881d963ec888d7 (diff) | |
download | ffmpeg-099aff5c42aed8ab01b30f559bb576e4f595f0da.tar.gz |
lavfi: check refcount before merging.
When merging the formats around the automatically inserted
convert filters, the refcount of the format lists can not be 0.
Coverity does not detect it, and suspects a memory leak,
because if refcount is 0 the newly allocated lists are not
stored anywhere. That gives CIDs 1224282, 1224283 and 1224284.
Lists with refcount 0 are used in can_merge_formats(), so the
asserts can not be moved inside the merge functions.
Diffstat (limited to 'libavcodec/x86/dsputil_x86.h')
0 files changed, 0 insertions, 0 deletions