summaryrefslogtreecommitdiff
path: root/libavcodec/vp9.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-09 14:39:13 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-09 14:41:23 +0100
commit3773738e26c9480a9ebdada54016dd2687c66774 (patch)
tree6c3c25d46b223b157afb0755fb1c188adc240ff1 /libavcodec/vp9.c
parent7904dfed7370125c04f243d284c27b0e61015533 (diff)
parentca96e337169093979d7c763064ad9dae12b3108c (diff)
Merge commit 'ca96e337169093979d7c763064ad9dae12b3108c'
* commit 'ca96e337169093979d7c763064ad9dae12b3108c': vp9: drop support for real (non-emulated) edges Conflicts: libavcodec/vp9block.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9.c')
-rw-r--r--libavcodec/vp9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index b4e8d4e5eb..bba600b73d 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -2747,9 +2747,9 @@ static void decode_b(AVCodecContext *ctx, int row, int col,
// allows to support emu-edge and so on even if we have large block
// overhangs
emu[0] = (col + w4) * 8 > f->linesize[0] ||
- (row + h4) > s->rows + 2 * !(ctx->flags & CODEC_FLAG_EMU_EDGE);
+ (row + h4) > s->rows;
emu[1] = (col + w4) * 4 > f->linesize[1] ||
- (row + h4) > s->rows + 2 * !(ctx->flags & CODEC_FLAG_EMU_EDGE);
+ (row + h4) > s->rows;
if (emu[0]) {
s->dst[0] = s->tmp_y;
s->y_stride = 64;