diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-12-04 16:38:05 -0800 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2011-12-05 09:51:35 -0800 |
commit | 52401b82bd2ed30d4c4353cb084bf4ee679d0c22 (patch) | |
tree | c8cfe458db993f7da7d11b100171998b8f40d557 /libavformat/oggparseogm.c | |
parent | 9179f27c6431e36cf0ebd320fb2733f56969bb44 (diff) | |
download | ffmpeg-52401b82bd2ed30d4c4353cb084bf4ee679d0c22.tar.gz |
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 'libavformat/oggparseogm.c')
0 files changed, 0 insertions, 0 deletions