aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorAttila Kinali <attila@kinali.ch>2009-11-30 10:25:20 +0000
committerAttila Kinali <attila@kinali.ch>2009-11-30 10:25:20 +0000
commit76c4a644eef92f1a15af11825486f5593bfb0051 (patch)
tree90beb1af79733191b2eebee9dfe4c13f51c63e05 /libavcodec/snow.c
parentab8c48de8c85a487a5673907abab6d1348eaec9e (diff)
downloadffmpeg-76c4a644eef92f1a15af11825486f5593bfb0051.tar.gz
Fix an issue uncovered by commit 20623:
The init functions of mpc7 and mpc8 check whether the vlc has been initialized already and return early if this is the case (eg by calling init a second time). But avctx->sample_fmt and channel_layout is set after the vlc initialization, causing it not to be set on the second call of init. Move all manipulations of avctx before the initialization of the vlc, so that it is always set. Originally committed as revision 20668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
0 files changed, 0 insertions, 0 deletions