Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-20 12:12:07 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-04-20 12:12:07 +0400
commitab4ba6b74d9ef287991e68b5b21d9539ea10a628 (patch)
tree819dc7b11916f5c7c21638469df63dab925a52d9 /libavcodec/motion_est.c
parent3c6621708b9392cd8a11dab6bb9e98f1804dcf47 (diff)
parent2f6bc5f7c193477c2ebc0acce8f2d5551445e129 (diff)
Merge commit '2f6bc5f7c193477c2ebc0acce8f2d5551445e129'
* commit '2f6bc5f7c193477c2ebc0acce8f2d5551445e129': svq3: Use hpeldsp instead of dsputil for half-pel functions mpegvideo: Use hpeldsp instead of dsputil for half-pel functions svq1: Use hpeldsp instead of dsputil for half-pel functions mimic: Use hpeldsp instead of dsputil for half-pel functions Conflicts: configure libavcodec/motion_est.c libavcodec/mpegvideo.c libavcodec/mpegvideo.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/motion_est.c')
-rw-r--r--libavcodec/motion_est.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index dc8e39b581..9c36ab6fed 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec/motion_est.c
@@ -338,9 +338,11 @@ int ff_init_me(MpegEncContext *s){
else
c->sub_motion_search= hpel_motion_search;
}
- c->hpel_avg= s->hdsp.avg_pixels_tab;
- if(s->no_rounding) c->hpel_put= s->hdsp.put_no_rnd_pixels_tab;
- else c->hpel_put= s->hdsp.put_pixels_tab;
+ c->hpel_avg = s->hdsp.avg_pixels_tab;
+ if (s->no_rounding)
+ c->hpel_put = s->hdsp.put_no_rnd_pixels_tab;
+ else
+ c->hpel_put = s->hdsp.put_pixels_tab;
if(s->linesize){
c->stride = s->linesize;