aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/qtpalette.h
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-12-04 16:38:05 -0800
committerAlex Converse <alex.converse@gmail.com>2011-12-05 09:51:35 -0800
commit52401b82bd2ed30d4c4353cb084bf4ee679d0c22 (patch)
treec8cfe458db993f7da7d11b100171998b8f40d557 /libavformat/qtpalette.h
parent9179f27c6431e36cf0ebd320fb2733f56969bb44 (diff)
downloadffmpeg-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/qtpalette.h')
0 files changed, 0 insertions, 0 deletions