[FFmpeg-cvslog] r17728 - trunk/libavcodec/mpegvideo.c
benoit
subversion
Mon Mar 2 10:22:18 CET 2009
Author: benoit
Date: Mon Mar 2 10:22:17 2009
New Revision: 17728
Log:
Merge three conditions in a single 'if' instead of two.
Modified:
trunk/libavcodec/mpegvideo.c
Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c Mon Mar 2 09:32:29 2009 (r17727)
+++ trunk/libavcodec/mpegvideo.c Mon Mar 2 10:22:17 2009 (r17728)
@@ -1096,8 +1096,7 @@ static void draw_arrow(uint8_t *buf, 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;
More information about the ffmpeg-cvslog
mailing list