diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-12-07 13:48:58 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-12-07 15:29:13 +0100 |
commit | ee41963f19eb6303b1582601dfccb1753866ab63 (patch) | |
tree | b57d0533b89169f91867435381f34b519706671a /libavcodec/mpegvideo.c | |
parent | fc9489f6adb9d3e790e6e5ebe984eaee0c733b09 (diff) | |
download | ffmpeg-ee41963f19eb6303b1582601dfccb1753866ab63.tar.gz |
cosmetics: drop some completely pointless parentheses
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 78fae1026d..f2651c8ac1 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -885,7 +885,7 @@ av_cold int MPV_common_init(MpegEncContext *s) s->parse_context.state = -1; if ((s->avctx->debug & (FF_DEBUG_VIS_QP | FF_DEBUG_VIS_MB_TYPE)) || - (s->avctx->debug_mv)) { + s->avctx->debug_mv) { s->visualization_buffer[0] = av_malloc((s->mb_width * 16 + 2 * EDGE_WIDTH) * s->mb_height * 16 + 2 * EDGE_WIDTH); s->visualization_buffer[1] = av_malloc((s->mb_width * 16 + @@ -1564,7 +1564,8 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){ } } - if((s->avctx->debug&(FF_DEBUG_VIS_QP|FF_DEBUG_VIS_MB_TYPE)) || (s->avctx->debug_mv)){ + if ((s->avctx->debug & (FF_DEBUG_VIS_QP | FF_DEBUG_VIS_MB_TYPE)) || + s->avctx->debug_mv) { const int shift= 1 + s->quarter_sample; int mb_y; uint8_t *ptr; @@ -1589,7 +1590,7 @@ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){ int mb_x; for(mb_x=0; mb_x<s->mb_width; mb_x++){ const int mb_index= mb_x + mb_y*s->mb_stride; - if((s->avctx->debug_mv) && pict->motion_val){ + if (s->avctx->debug_mv && pict->motion_val) { int type; for(type=0; type<3; type++){ int direction = 0; |