aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/audio.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2008-08-23 18:46:30 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2008-08-23 18:46:30 +0000
commit47f944a2efea1af48d2f47df25ee92386dbd8491 (patch)
tree18a39f92997407d5c3e0db8e3e43be5343c1ec49 /libavdevice/audio.c
parente6c13819825aab796965a96ffb451cd008eab647 (diff)
downloadffmpeg-47f944a2efea1af48d2f47df25ee92386dbd8491.tar.gz
Move malloc() down until after all initializations, so that the resource is
only allocated if initialization worked. This means that on failure, we don't have to deallocate it. Originally committed as revision 14924 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/audio.c')
0 files changed, 0 insertions, 0 deletions