changeset 7303:e805ef05536c

fixing mpeg in avi
author michael
date Fri, 06 Sep 2002 22:53:26 +0000
parents 7d32189dbae4
children 7da2c2a68547
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c	Fri Sep 06 22:36:55 2002 +0000
+++ b/libmpcodecs/vd_ffmpeg.c	Fri Sep 06 22:53:26 2002 +0000
@@ -142,6 +142,10 @@
         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;