summaryrefslogtreecommitdiff
path: root/libavcodec/error_resilience.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-05-04 00:27:19 +0200
committerDiego Biurrun <diego@biurrun.de>2016-05-11 12:22:49 +0200
commit763d69bfb2f0094e99f43e657cfd2b0471361f6b (patch)
tree04812751280eccad697cc139e1e378ccf7ae259a /libavcodec/error_resilience.c
parentb7e64fba7f37cc0399beae844f0a5dbef9219376 (diff)
downloadffmpeg-763d69bfb2f0094e99f43e657cfd2b0471361f6b.tar.gz
Add some more deprecation guards
Avoids unused function/label/variable warnings after the next version bump.
Diffstat (limited to 'libavcodec/error_resilience.c')
-rw-r--r--libavcodec/error_resilience.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index eb6fd1481b..d53dfdd995 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -1199,7 +1199,9 @@ FF_ENABLE_DEPRECATION_WARNINGS
s->mb_height, linesize[2], 0);
}
+#if FF_API_XVMC
ec_clean:
+#endif
/* clean a few tables */
for (i = 0; i < s->mb_num; i++) {
const int mb_xy = s->mb_index2xy[i];