diff swf.h @ 3375:9877da0d8be3 libavformat

use AVFifoBuffer
author bcoudurier
date Tue, 27 May 2008 04:33:48 +0000
parents 171f5664d129
children c202c3486e49
line wrap: on
line diff
--- a/swf.h	Tue May 27 03:42:55 2008 +0000
+++ b/swf.h	Tue May 27 04:33:48 2008 +0000
@@ -23,6 +23,7 @@
 #ifndef FFMPEG_SWF_H
 #define FFMPEG_SWF_H
 
+#include "libavutil/fifo.h"
 #include "avformat.h"
 #include "riff.h"    /* for CodecTag */
 
@@ -73,10 +74,7 @@
     int video_frame_number;
     int frame_rate;
     int tag;
-
-    uint8_t audio_fifo[AUDIO_FIFO_SIZE];
-    int audio_in_pos;
-
+    AVFifoBuffer audio_fifo;
     int video_type;
     int audio_type;
 } SWFContext;