summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_filter.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-02-04 20:19:36 -0300
committerJames Almer <jamrial@gmail.com>2015-02-05 15:02:22 -0300
commit1f1c7c8a57e81803a034b00077bd43e7a6e4ed82 (patch)
tree47f58f0f0ac02d85ca42ff0bcbaf1138ff6d9a17 /libavcodec/hevc_filter.c
parente09ad5bd0de40da9ac33d86f973a85beed85cc47 (diff)
downloadffmpeg-1f1c7c8a57e81803a034b00077bd43e7a6e4ed82.tar.gz
hevcdsp: remove compilation-time-fixed parameter from sao_edge_filter
The stride_src parameter is always 2 * MAX_PB_SIZE + FF_INPUT_BUFFER_PADDING_SIZE. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_filter.c')
-rw-r--r--libavcodec/hevc_filter.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c
index bf88b47cb3..cea975da79 100644
--- a/libavcodec/hevc_filter.c
+++ b/libavcodec/hevc_filter.c
@@ -427,9 +427,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y)
copy_CTB_to_hv(s, src, stride_src, x0, y0, width, height, c_idx,
x_ctb, y_ctb);
- s->hevcdsp.sao_edge_filter(src, dst, stride_src, stride_dst,
- sao->offset_val[c_idx], sao->eo_class[c_idx],
- width, height);
+ s->hevcdsp.sao_edge_filter(src, dst, stride_src, sao->offset_val[c_idx],
+ sao->eo_class[c_idx], width, height);
s->hevcdsp.sao_edge_restore[restore](src, dst,
stride_src, stride_dst,
sao,