diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-03 21:02:18 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-07-03 21:39:07 +0100 |
commit | add41decd94b2d3581a3715ba10f27168b8cdb1b (patch) | |
tree | 75b99269199b63d99c9cfa92e876cf4682bf44b5 /libavcodec/mpeg12.c | |
parent | f75e3da535f297ddbe501ce866e57ccca7645455 (diff) | |
download | ffmpeg-add41decd94b2d3581a3715ba10f27168b8cdb1b.tar.gz |
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/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index 03c95c191d..986cad5fd2 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1928,8 +1928,6 @@ static int slice_decode_thread(AVCodecContext *c, void *arg){ if(mb_y < 0 || mb_y >= s->end_mb_y) return -1; } - - return 0; //not reached } /** |