Commit d45b86ca authored by iive's avatar iive

Cosmetics


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17294 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ce6487e8
...@@ -1643,7 +1643,7 @@ static int mpeg_field_start(MpegEncContext *s){ ...@@ -1643,7 +1643,7 @@ static int mpeg_field_start(MpegEncContext *s){
// MPV_frame_start will call this function too, // MPV_frame_start will call this function too,
// but we need to call it on every field // but we need to call it on every field
if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration) 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 -1;
return 0; return 0;
...@@ -2378,9 +2378,9 @@ static int decode_chunks(AVCodecContext *avctx, ...@@ -2378,9 +2378,9 @@ static int decode_chunks(AVCodecContext *avctx,
if(s2->first_slice){ if(s2->first_slice){
s2->first_slice=0; s2->first_slice=0;
if(mpeg_field_start(s2) < 0) if(mpeg_field_start(s2) < 0)
return -1; return -1;
} }
if(!s2->current_picture_ptr){ if(!s2->current_picture_ptr){
av_log(avctx, AV_LOG_ERROR, "current_picture not initialized\n"); av_log(avctx, AV_LOG_ERROR, "current_picture not initialized\n");
return -1; return -1;
......
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