summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-03 21:02:18 +0100
committerMans Rullgard <mans@mansr.com>2011-07-03 21:39:07 +0100
commitadd41decd94b2d3581a3715ba10f27168b8cdb1b (patch)
tree75b99269199b63d99c9cfa92e876cf4682bf44b5 /libavcodec/h264.c
parentf75e3da535f297ddbe501ce866e57ccca7645455 (diff)
Remove return statements following infinite loops without break
These statements cannot be reached and are thus not needed. This removes a number of compiler warnings. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 2c000a3420..37dab73dc0 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3552,7 +3552,6 @@ static int decode_slice(struct AVCodecContext *avctx, void *arg){
ff_draw_horiz_band(s, 16*s->mb_y, 16);
}
#endif
- return -1; //not reached
}
/**