OSDN Git Service

simplify, use pointer to codec context in struct instead of only id
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 27 May 2008 22:31:26 +0000 (22:31 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 27 May 2008 22:31:26 +0000 (22:31 +0000)
Originally committed as revision 13477 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/swf.h

index 809e1c5..dee6916 100644 (file)
@@ -75,8 +75,7 @@ typedef struct {
     int frame_rate;
     int tag;
     AVFifoBuffer audio_fifo;
-    int video_type;
-    int audio_type;
+    AVCodecContext *audio_enc, *video_enc;
 } SWFContext;
 
 static const AVCodecTag swf_codec_tags[] = {