Set sample_fmt before trying to open an audio codec.
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 1 Jan 2011 19:39:19 +0000 (19:39 +0000)
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 1 Jan 2011 19:39:19 +0000 (19:39 +0000)
commit1816fada197a3d5c5f231dbe69af59900539659a
tree0087b44016ab85ac23330f252da93c7d39f3b5f5
parent7b45e212e4f72392385e5e93a36567e4bb1dc800
Set sample_fmt before trying to open an audio codec.
Fixes failure to open flac encoder.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@32743 b3059339-0415-0410-9bf9-f77b7e298cf2
libmpcodecs/ae_lavc.c