diff h264.c @ 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 e9d9d946f213
children 5d7ebbb7e91b
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