Commit 68e788da authored by benoit's avatar benoit

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17728 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b9adff5a
......@@ -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){
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment