1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00

Remove pointless #ifdef HAVE_XVMC within get_format(), all of the function

is protected by that #ifdef.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24274 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-08-28 17:38:08 +00:00
parent 89855e1022
commit 90aa63e2fd

View File

@ -917,7 +917,6 @@ static enum PixelFormat get_format(struct AVCodecContext * avctx,
sh_video_t * sh = avctx->opaque;
int i;
#ifdef HAVE_XVMC
if(avctx->xvmc_acceleration){
vd_ffmpeg_ctx *ctx = sh->context;
avctx->get_buffer= mc_get_buffer;
@ -929,7 +928,6 @@ int i;
avctx->flags|= CODEC_FLAG_EMU_EDGE;//do i need that??!!
avctx->slice_flags=SLICE_FLAG_CODED_ORDER|SLICE_FLAG_ALLOW_FIELD;
}
#endif
for(i=0;fmt[i]!=-1;i++){
mp_msg(MSGT_DECVIDEO, MSGL_INFO, MSGTR_MPCODECS_TryingPixfmt,i);
if( init_vo(sh,fmt[i]) >= 0)