[SCM] libav/experimental: simplify, use pointer to codec context in struct instead of only id

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:22:11 UTC 2013


The following commit has been merged in the experimental branch:
commit 003ae66086d0d55569194a1d4c570febead35747
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Tue May 27 22:31:26 2008 +0000

    simplify, use pointer to codec context in struct instead of only id
    
    Originally committed as revision 13477 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/swf.h b/libavformat/swf.h
index 809e1c5..dee6916 100644
--- a/libavformat/swf.h
+++ b/libavformat/swf.h
@@ -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[] = {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list