mirror of https://github.com/mpv-player/mpv
fixing mpeg in avi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7304 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8c5f449de0
commit
08cdd6368b
|
@ -142,6 +142,10 @@ static int init(sh_video_t *sh){
|
||||||
avctx->get_buffer_callback= get_buffer;
|
avctx->get_buffer_callback= get_buffer;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CODEC_FLAG_NOT_TRUNCATED
|
||||||
|
avctx->flags|= CODEC_FLAG_NOT_TRUNCATED;
|
||||||
|
#endif
|
||||||
|
|
||||||
avctx->width = sh->disp_w;
|
avctx->width = sh->disp_w;
|
||||||
avctx->height= sh->disp_h;
|
avctx->height= sh->disp_h;
|
||||||
|
|
Loading…
Reference in New Issue