Commit 4979830e authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17132 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ba1ad35b
......@@ -206,11 +206,6 @@ static int libschroedinger_encode_init(AVCodecContext *avccontext)
schro_video_format_set_std_signal_range(p_schro_params->format,
SCHRO_SIGNAL_RANGE_8BIT_VIDEO);
/* Hardcode motion vector precision to quarter pixel. */
schro_encoder_setting_set_double (p_schro_params->encoder,
"mv_precision", 2);
/* Set the encoder format. */
schro_encoder_set_video_format(p_schro_params->encoder,
p_schro_params->format);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment