1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-19 18:05:21 +00:00

fixing mpeg in avi

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7304 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2002-09-06 22:53:26 +00:00
parent 8c5f449de0
commit 08cdd6368b

View File

@ -143,6 +143,10 @@ static int init(sh_video_t *sh){
}
#endif
#ifdef CODEC_FLAG_NOT_TRUNCATED
avctx->flags|= CODEC_FLAG_NOT_TRUNCATED;
#endif
avctx->width = sh->disp_w;
avctx->height= sh->disp_h;
#if LIBAVCODEC_BUILD >= 4611