~ubuntu-branches/ubuntu/trusty/gst-libav1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavformat/swf.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-09-24 17:07:00 UTC
  • mfrom: (1.1.17) (7.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20130924170700-4dg62s3pwl0pdakz
Tags: 1.2.0-1
* New upstream stable release:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "libavutil/fifo.h"
27
27
#include "avformat.h"
28
28
#include "avio.h"
29
 
#include "riff.h"    /* for CodecTag */
 
29
#include "internal.h"
30
30
 
31
31
/* should have a generic way to indicate probable size */
32
32
#define DUMMY_FILE_SIZE   (100 * 1024 * 1024)
64
64
#undef NDEBUG
65
65
#include <assert.h>
66
66
 
67
 
typedef struct {
 
67
typedef struct SWFContext {
68
68
    int64_t duration_pos;
69
69
    int64_t tag_pos;
70
70
    int64_t vframes_pos;
78
78
    AVCodecContext *audio_enc, *video_enc;
79
79
} SWFContext;
80
80
 
81
 
static const AVCodecTag swf_codec_tags[] = {
82
 
    {CODEC_ID_FLV1, 0x02},
83
 
    {CODEC_ID_VP6F, 0x04},
84
 
    {CODEC_ID_NONE,    0},
85
 
};
86
 
 
87
 
static const AVCodecTag swf_audio_codec_tags[] = {
88
 
    {CODEC_ID_PCM_S16LE,  0x00},
89
 
    {CODEC_ID_ADPCM_SWF,  0x01},
90
 
    {CODEC_ID_MP3,        0x02},
91
 
    {CODEC_ID_PCM_S16LE,  0x03},
92
 
  //{CODEC_ID_NELLYMOSER, 0x06},
93
 
    {CODEC_ID_NONE,          0},
94
 
};
 
81
extern const AVCodecTag ff_swf_codec_tags[];
95
82
 
96
83
#endif /* AVFORMAT_SWF_H */