diff h263.c @ 1542:576861d6343a libavcodec

emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set
author michael
date Fri, 17 Oct 2003 18:56:01 +0000
parents 39efe24058ad
children dd544554ed42
line wrap: on
line diff
--- a/h263.c	Thu Oct 16 18:27:48 2003 +0000
+++ b/h263.c	Fri Oct 17 18:56:01 2003 +0000
@@ -4273,6 +4273,7 @@
             dprintf("ufep=1, format: %d\n", format);
             skip_bits(&s->gb,1); /* Custom PCF */
             s->umvplus = get_bits(&s->gb, 1); /* Unrestricted Motion Vector */
+            s->unrestricted_mv = s->umvplus;
             skip_bits1(&s->gb); /* Syntax-based Arithmetic Coding (SAC) */
             if (get_bits1(&s->gb) != 0) {
                 s->mv_type = MV_TYPE_8X8; /* Advanced prediction mode */