Mercurial > libavcodec.hg
comparison mpeg12.c @ 8895:0a898394092a libavcodec
Cosmetics
author | iive |
---|---|
date | Sat, 14 Feb 2009 23:01:19 +0000 |
parents | 82545932a261 |
children | b595a8a59967 |
comparison
equal
deleted
inserted
replaced
8894:82545932a261 | 8895:0a898394092a |
---|---|
1641 } | 1641 } |
1642 } | 1642 } |
1643 // MPV_frame_start will call this function too, | 1643 // MPV_frame_start will call this function too, |
1644 // but we need to call it on every field | 1644 // but we need to call it on every field |
1645 if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration) | 1645 if(CONFIG_MPEG_XVMC_DECODER && s->avctx->xvmc_acceleration) |
1646 if( ff_xvmc_field_start(s,avctx) < 0) | 1646 if(ff_xvmc_field_start(s,avctx) < 0) |
1647 return -1; | 1647 return -1; |
1648 | 1648 |
1649 return 0; | 1649 return 0; |
1650 } | 1650 } |
1651 | 1651 |
2376 break; | 2376 break; |
2377 } | 2377 } |
2378 | 2378 |
2379 if(s2->first_slice){ | 2379 if(s2->first_slice){ |
2380 s2->first_slice=0; | 2380 s2->first_slice=0; |
2381 if(mpeg_field_start(s2) < 0) | 2381 if(mpeg_field_start(s2) < 0) |
2382 return -1; | 2382 return -1; |
2383 } | 2383 } |
2384 if(!s2->current_picture_ptr){ | 2384 if(!s2->current_picture_ptr){ |
2385 av_log(avctx, AV_LOG_ERROR, "current_picture not initialized\n"); | 2385 av_log(avctx, AV_LOG_ERROR, "current_picture not initialized\n"); |
2386 return -1; | 2386 return -1; |
2387 } | 2387 } |
2388 | 2388 |