diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-17 18:56:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-17 18:56:01 +0000 |
commit | a573cc27f51ad93d8453bbe1d06f0e59ba49f838 (patch) | |
tree | 3cdcb3bd92a4b3be761be68b4726a5dc58e1c794 /libavcodec/h263.c | |
parent | 5c00fe413732331369f9028831457aae3a66f587 (diff) | |
download | ffmpeg-a573cc27f51ad93d8453bbe1d06f0e59ba49f838.tar.gz |
emu_edge checks simplification and avoid redundant checks for mpeg1/2 if emu_edge is set
Originally committed as revision 2395 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 39ed7c824c..5d03ba611e 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -4273,6 +4273,7 @@ int h263_decode_picture_header(MpegEncContext *s) 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 */ |