[FFmpeg-cvslog] r16925 - trunk/libavcodec/h264.c

diego subversion
Mon Feb 2 01:35:28 CET 2009


Author: diego
Date: Mon Feb  2 01:35:25 2009
New Revision: 16925

Log:
Add av_unused to conditionally used variable, fixes the warning:
h264.c:6464: warning: unused variable 'dir'

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Sun Feb  1 23:02:57 2009	(r16924)
+++ trunk/libavcodec/h264.c	Mon Feb  2 01:35:25 2009	(r16925)
@@ -6461,7 +6461,7 @@ static void filter_mb( H264Context *h, i
     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




More information about the ffmpeg-cvslog mailing list