changeset 8790:1045a26cb90d libavcodec

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
author diego
date Tue, 10 Feb 2009 14:27:16 +0000
parents b2a991a936e1
children 7798afcf0b24
files libschroedingerenc.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libschroedingerenc.c	Tue Feb 10 13:47:50 2009 +0000
+++ b/libschroedingerenc.c	Tue Feb 10 14:27:16 2009 +0000
@@ -206,11 +206,6 @@
     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);