From 08cdd6368b8b70ba7fe4931502dadfb436bbc76f Mon Sep 17 00:00:00 2001 From: michael Date: Fri, 6 Sep 2002 22:53:26 +0000 Subject: [PATCH] fixing mpeg in avi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7304 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd_ffmpeg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c index 896b8e6f29..7faedf8ed6 100644 --- a/libmpcodecs/vd_ffmpeg.c +++ b/libmpcodecs/vd_ffmpeg.c @@ -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;