Mercurial > libavcodec.hg
changeset 9089:bea68afbf199 libavcodec
Merge three conditions in a single 'if' instead of two.
author | benoit |
---|---|
date | Mon, 02 Mar 2009 09:22:17 +0000 |
parents | b8cb2a9662a5 |
children | cecf81f93756 |
files | mpegvideo.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;