aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeg2000.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-01 10:01:13 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-07-02 20:05:45 +0200
commit2c3901b2c34b5e1f556d0e19c4cc218fdcbec695 (patch)
treee2795823899a9f7c61dc7eb0c78216cb0e8e04a8 /libavcodec/jpeg2000.c
parentef35d6dbc6c3b7ba6b13ac13fc8e797cc1268c8f (diff)
downloadffmpeg-2c3901b2c34b5e1f556d0e19c4cc218fdcbec695.tar.gz
jpeg2000: Remove unneeded returns
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/jpeg2000.c')
-rw-r--r--libavcodec/jpeg2000.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/jpeg2000.c b/libavcodec/jpeg2000.c
index 5889f80576..51823e6cd7 100644
--- a/libavcodec/jpeg2000.c
+++ b/libavcodec/jpeg2000.c
@@ -115,7 +115,6 @@ static int getsigctxno(int flag, int bandno)
return 2;
if (d == 1)
return 1;
- return 0;
} else {
if (d >= 3)
return 8;
@@ -135,7 +134,6 @@ static int getsigctxno(int flag, int bandno)
return 2;
if (h + v == 1)
return 1;
- return 0;
}
return 0;
}