changeset 3380:c202c3486e49 libavformat

simplify, use pointer to codec context in struct instead of only id
author bcoudurier
date Tue, 27 May 2008 22:31:26 +0000
parents b3827117c786
children 10201d222e76
files swf.h
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/swf.h	Tue May 27 22:31:09 2008 +0000
+++ b/swf.h	Tue May 27 22:31:26 2008 +0000
@@ -75,8 +75,7 @@
     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[] = {