diff libmpcodecs/vd_ffmpeg.c @ 7303:e805ef05536c

fixing mpeg in avi
author michael
date Fri, 06 Sep 2002 22:53:26 +0000
parents e3ecccc7e505
children 2c35b856cf73
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;