diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2008-08-23 18:46:30 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2008-08-23 18:46:30 +0000 |
commit | 47f944a2efea1af48d2f47df25ee92386dbd8491 (patch) | |
tree | 18a39f92997407d5c3e0db8e3e43be5343c1ec49 /libavcodec/svq1.c | |
parent | e6c13819825aab796965a96ffb451cd008eab647 (diff) | |
download | ffmpeg-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 'libavcodec/svq1.c')
0 files changed, 0 insertions, 0 deletions