Check for OOM after av_mallocz() in ff_interleave_add_packet().
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 8 Nov 2011 09:35:14 +0000 (10:35 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 8 Nov 2011 09:35:14 +0000 (10:35 +0100)
commit4d7c71c36467331f1e0c0f17af9f371d33308a9c
tree9a0abce5245b3ffaef479b88b29b66587e72ee53
parent8a3f976498cc096644b95ade7240a73e17d3a042
Check for OOM after av_mallocz() in ff_interleave_add_packet().

Fixes a crash with the sample from Ubuntu bug #869125.
libavformat/audiointerleave.c
libavformat/internal.h
libavformat/utils.c