# HG changeset patch # User benoit # Date 1235985737 0 # Node ID bea68afbf1996a57929475962e8bb54b671b8a55 # Parent b8cb2a9662a5123cb3158eb2d8c798a7e01c9e85 Merge three conditions in a single 'if' instead of two. diff -r b8cb2a9662a5 -r bea68afbf199 mpegvideo.c --- a/mpegvideo.c Mon Mar 02 06:01:32 2009 +0000 +++ b/mpegvideo.c Mon Mar 02 09:22:17 2009 +0000 @@ -1096,8 +1096,7 @@ */ 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)){ int x,y;