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
1 changed files with 4 additions and 0 deletions

View File

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