changeset 8727:0d2190f5ae78 libavcodec

Add av_unused to conditionally used variable, fixes the warning: h264.c:6464: warning: unused variable 'dir'
author diego
date Mon, 02 Feb 2009 00:35:25 +0000
parents 4d371825ba2b
children 329e332e829f
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sun Feb 01 16:14:54 2009 +0000
+++ b/h264.c	Mon Feb 02 00:35:25 2009 +0000
@@ -6461,7 +6461,7 @@
     const int mb_type = s->current_picture.mb_type[mb_xy];
     const int mvy_limit = IS_INTERLACED(mb_type) ? 2 : 4;
     int first_vertical_edge_done = 0;
-    int dir;
+    av_unused int dir;
 
     //for sufficiently low qp, filtering wouldn't do anything
     //this is a conservative estimate: could also check beta_offset and more accurate chroma_qp