diff mpegvideo.c @ 1095:c7604e6291c5 libavcodec

extended option for h263+ patch by (fixounet at free dot fr) with some minor modifications
author michaelni
date Wed, 05 Mar 2003 16:10:13 +0000
parents 0ed00edd4d74
children 5e6e505d8997
line wrap: on
line diff
--- a/mpegvideo.c	Tue Mar 04 13:05:14 2003 +0000
+++ b/mpegvideo.c	Wed Mar 05 16:10:13 2003 +0000
@@ -581,9 +581,10 @@
     case CODEC_ID_H263P:
         s->out_format = FMT_H263;
         s->h263_plus = 1;
-        s->unrestricted_mv = 1;
-        s->h263_aic = 1;
-        
+	/* Fx */
+	s->unrestricted_mv=(avctx->flags & CODEC_FLAG_H263P_UMV) ? 1:0;
+	s->h263_aic= (avctx->flags & CODEC_FLAG_H263P_AIC) ? 1:0;
+	/* /Fx */
         /* These are just to be sure */
         s->umvplus = 1;
         avctx->delay=0;