diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-03-03 17:37:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-07-25 13:56:59 +0200 |
commit | 3d1a9c6c3b6ce6a1667e665a22011fe8b1e9879b (patch) | |
tree | c1a65859decc19beb3115a0a17e699dfada42d5a | |
parent | 9d4a85cbfb19c5e9f698713ce1ba707f5d527df0 (diff) |
cfhd: Drop unnecessary condition
-rw-r--r-- | libavcodec/cfhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 07906b1eec..b722822006 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -657,7 +657,7 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame, } planes = av_pix_fmt_count_planes(avctx->pix_fmt); - for (plane = 0; plane < planes && !ret; plane++) { + for (plane = 0; plane < planes; plane++) { /* level 1 */ int lowpass_height = s->plane[plane].band[0][0].height; int lowpass_width = s->plane[plane].band[0][0].width; |