diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-12-05 04:38:05 +0400 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-12-05 21:51:35 +0400 |
commit | 52401b82bd2ed30d4c4353cb084bf4ee679d0c22 (patch) | |
tree | c8cfe458db993f7da7d11b100171998b8f40d557 /libavutil/lzo.c | |
parent | 9179f27c6431e36cf0ebd320fb2733f56969bb44 (diff) |
mov: Don't av_malloc(0).
malloc() is allowed to return NULL when zero is the argument. This
causes us to think malloc has failed and return AVERROR(ENOMEM). In
addition OS X malloc() returns an unfreeable non-NULL pointer for size
zero when alignment is greater than 16.
Diffstat (limited to 'libavutil/lzo.c')
0 files changed, 0 insertions, 0 deletions