# HG changeset patch # User iive # Date 1234652479 0 # Node ID 0a898394092ac38e6d2a5e74a8af86a401c794e5 # Parent 82545932a261a07f18f35f9d47f175dc00bd8a94 Cosmetics diff -r 82545932a261 -r 0a898394092a mpeg12.c --- a/mpeg12.c Sat Feb 14 22:59:19 2009 +0000 +++ b/mpeg12.c Sat Feb 14 23:01:19 2009 +0000 @@ -1643,7 +1643,7 @@ // MPV_frame_start will call this function too, // but we need to call it on every field if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration) - if( ff_xvmc_field_start(s,avctx) < 0) + if(ff_xvmc_field_start(s,avctx) < 0) return -1; return 0; @@ -2378,9 +2378,9 @@ if(s2->first_slice){ s2->first_slice=0; - if(mpeg_field_start(s2) < 0) + if(mpeg_field_start(s2) < 0) return -1; - } + } if(!s2->current_picture_ptr){ av_log(avctx, AV_LOG_ERROR, "current_picture not initialized\n"); return -1;