summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-04-19 17:14:34 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-25 13:57:00 +0200
commit431d7dc76ff5ad3d3dc40ff46610c215e1e0c32a (patch)
tree9d6723ed9abcef64f9ab6222d9048c171debbb96
parent8922952496377687b311a13ad67ecf6f240e889f (diff)
cfhd: small cosmetics
-rw-r--r--libavcodec/cfhd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 788bbe4d8d..af8d9bb29d 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -295,8 +295,7 @@ static int parse_tag(AVCodecContext *avctx, CFHDContext *s, GetByteContext gb,
return AVERROR_PATCHWELCOME;
case 27:
av_log(avctx, AV_LOG_DEBUG, "Lowpass width %"PRIu16"\n", data);
- if (data < 2 ||
- data > s->plane[s->channel_num].band[0][0].a_width) {
+ if (data < 2 || data > s->plane[s->channel_num].band[0][0].a_width) {
av_log(avctx, AV_LOG_ERROR, "Invalid lowpass width\n");
return AVERROR_INVALIDDATA;
}