aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-02 00:35:25 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-02 00:35:25 +0000
commit6bf959fee5a53709b40fa940cf9fef32f07eb666 (patch)
tree4ad45f9a9df38fa3102f51167ce9dcff92deebe9
parenteee99eb3e8f4481ee5e669e60a0fd6be891af5ac (diff)
downloadffmpeg-6bf959fee5a53709b40fa940cf9fef32f07eb666.tar.gz
Add av_unused to conditionally used variable, fixes the warning:
h264.c:6464: warning: unused variable 'dir' Originally committed as revision 16925 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 5785e1fc42..1d3dbc0ed5 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -6461,7 +6461,7 @@ static void filter_mb( H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8
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