diff options
author | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-06-28 13:52:29 +0400 |
---|---|---|
committer | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-06-28 13:52:29 +0400 |
commit | d689241854077b6efc7a62f0e4f5b3bd414228e6 (patch) | |
tree | 8bc1c3300a160572b01845c5cabf01f59424030a /src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h | |
parent | 4a0275d8a6340469646ef0e07fe8121875051ad0 (diff) |
Updated ffmpeg (patch by XhmikosR) - Unresolved externals fixed by Spec-Chum
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2082 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h')
-rw-r--r-- | src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h index 6174a7219..5d69f23b2 100644 --- a/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h +++ b/src/filters/transform/MPCVideoDec/ffmpeg/libavcodec/mpegvideo_common.h @@ -23,7 +23,7 @@ */
/**
- * @file libavcodec/mpegvideo_common.h
+ * @file
* The simplest mpeg encoder (well, it was the simplest!).
*/
@@ -580,11 +580,11 @@ static inline void chroma_4mv_motion(MpegEncContext *s, src_x = s->mb_x * 8 + mx;
src_y = s->mb_y * 8 + my;
- src_x = av_clip(src_x, -8, s->width/2);
- if (src_x == s->width/2)
+ src_x = av_clip(src_x, -8, (s->width >> 1));
+ if (src_x == (s->width >> 1))
dxy &= ~1;
- src_y = av_clip(src_y, -8, s->height/2);
- if (src_y == s->height/2)
+ src_y = av_clip(src_y, -8, (s->height >> 1));
+ if (src_y == (s->height >> 1))
dxy &= ~2;
offset = (src_y * (s->uvlinesize)) + src_x;
|