summaryrefslogtreecommitdiff
path: root/libavcodec/hpeldsp_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/hpeldsp_template.c')
-rw-r--r--libavcodec/hpeldsp_template.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/hpeldsp_template.c b/libavcodec/hpeldsp_template.c
index f190457b96..2dc5ddcba4 100644
--- a/libavcodec/hpeldsp_template.c
+++ b/libavcodec/hpeldsp_template.c
@@ -6,20 +6,20 @@
*
* gmc & q-pel & 32/64 bit based MC by Michael Niedermayer <michaelni@gmx.at>
*
- * This file is part of Libav.
+ * This file is part of FFmpeg.
*
- * Libav is free software; you can redistribute it and/or
+ * FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
- * Libav is distributed in the hope that it will be useful,
+ * FFmpeg is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with Libav; if not, write to the Free Software
+ * License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@@ -143,7 +143,7 @@ static inline void FUNCC(OPNAME ## _pixels2_xy2)(uint8_t *_block, \
\
a0 += b0; \
b0 += pixels[2]; \
- line_size /= sizeof(pixel); \
+ line_size >>= sizeof(pixel)-1; \
pixels += line_size; \
for (i = 0; i < h; i += 2) { \
a1 = pixels[0]; \