summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-06 22:53:26 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-09-06 22:53:26 +0000
commit08cdd6368b8b70ba7fe4931502dadfb436bbc76f (patch)
tree94e296ca1fc4dcc42e90cf7c28a680af00ed37dd /libmpcodecs
parent8c5f449de008a6277e0678445f5c99109fc0cdd9 (diff)
downloadmpv-08cdd6368b8b70ba7fe4931502dadfb436bbc76f.tar.bz2
mpv-08cdd6368b8b70ba7fe4931502dadfb436bbc76f.tar.xz
fixing mpeg in avi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_ffmpeg.c4
1 files changed, 4 insertions, 0 deletions
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;