Fix crash when encoding using libschroedinger.
authorAnuradha Suraparaju <anuradha@rd.bbc.co.uk>
Tue, 10 Feb 2009 14:27:16 +0000 (14:27 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 10 Feb 2009 14:27:16 +0000 (14:27 +0000)
commit9fc88d7e2025e5df0bced8a175978408a1d9eb9a
treeb8d4e322f16c5d736ba3df86694c4b169581065e
parentf418b86151921355e6843a126154d56ce86256ae
Fix crash when encoding using libschroedinger.
Currently only pixel and half-pixel motion vector precisions are supported in
libschroedinger. Setting the mv_precision field to 2 (i.e. quarter pixel)
causes a crash in the libschroedinger encoder calls. By not setting this
parameter, we fall back to the default value used in libschroedinger.
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk

Originally committed as revision 17132 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/libschroedingerenc.c