diff avidec.c @ 562:bf3231dd1d7c libavformat

* static allocation for audio packets. This will make it a little bit faster and easier to follow. * misc. fixes for problems with seeking
author romansh
date Wed, 13 Oct 2004 00:03:00 +0000
parents 89bd76208427
children aca10aa7686f
line wrap: on
line diff
--- a/avidec.c	Tue Oct 12 12:47:49 2004 +0000
+++ b/avidec.c	Wed Oct 13 00:03:00 2004 +0000
@@ -735,6 +735,8 @@
                ast->frame_offset);
 #endif
     }
+    if (avi->dv_demux)
+        dv_flush_audio_packets(avi->dv_demux);
     /* do the seek */
     pos += avi->movi_list;
     url_fseek(&s->pb, pos, SEEK_SET);