lavf: Avoid using av_malloc(0) in av_dump_format
authorMartin Storsjö <martin@martin.st>
Fri, 30 Sep 2011 17:30:35 +0000 (20:30 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 30 Sep 2011 19:31:30 +0000 (22:31 +0300)
commite81e5e8ad2bb5746df0c343c396019aca165cf66
tree06fd22c12fb0c58bc9e515404907304611ee3ade
parentbcb15554894e13d1575d5f6e7ff833812a315004
lavf: Avoid using av_malloc(0) in av_dump_format

On OS X, av_malloc(0) returns pointers that cause crashes when
freed.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/utils.c