Move the allocation of the AVOutputStream structure earlier in the
authorNicolas George <nicola.george@normalesup.org>
Sat, 16 Oct 2010 10:06:10 +0000 (10:06 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Oct 2010 10:06:10 +0000 (10:06 +0000)
commit9fdf4b5817f0df471530320bd8aada4801da6a27
tree2fec93990e9462812c2aed4fa1910c80bbad2465
parentfb66c31da43062e7e31d146803fba6d106188d39
Move the allocation of the AVOutputStream structure earlier in the
code flow, in the new_video_stream() / new_audio_stream() /
new_subtitle_stream() functions.

Patch by Nicolas George <$name.$surname@normalesup.org>.

Originally committed as revision 25500 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c