diff --git a/dll_init.c b/dll_init.c index 818a8ed238..464cb81efc 100644 --- a/dll_init.c +++ b/dll_init.c @@ -245,7 +245,7 @@ int init_video_codec(){ } if(sh_video->codec->outflags[sh_video->outfmtidx] & CODECS_FLAG_YUVHACK) - sh_video->o_bih.biCompression = mmioFOURCC('Y','U','Y','2'); + sh_video->o_bih.biCompression = outfmt; // avi_header.our_in_buffer=malloc(avi_header.video.dwSuggestedBufferSize); // FIXME!!!!