Browse Source

Merge three conditions in a single 'if' instead of two.

Originally committed as revision 17728 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Benoit Fouet 16 years ago
parent
commit
d69da18cb0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/mpegvideo.c

+ 1
- 2
libavcodec/mpegvideo.c View File

@@ -1096,8 +1096,7 @@ static void draw_arrow(uint8_t *buf, int sx, int sy, int ex, int ey, int w, int
*/ */
void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){ void ff_print_debug_info(MpegEncContext *s, AVFrame *pict){


if(s->avctx->hwaccel) return;
if(!pict || !pict->mb_type) return;
if(s->avctx->hwaccel || !pict || !pict->mb_type) return;


if(s->avctx->debug&(FF_DEBUG_SKIP | FF_DEBUG_QP | FF_DEBUG_MB_TYPE)){ if(s->avctx->debug&(FF_DEBUG_SKIP | FF_DEBUG_QP | FF_DEBUG_MB_TYPE)){
int x,y; int x,y;


Loading…
Cancel
Save