]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/swf.h
ffmpeg: Factor out redundant sync_ipts calculation
[ffmpeg] / libavformat / swf.h
index a4638bbfc3cdd095ce69e228d48132cb71fcf4cb..affebe9c732a64aaca989cd8f9a2e2aff10c5c5b 100644 (file)
@@ -65,7 +65,6 @@
 #include <assert.h>
 
 typedef struct {
-    int audio_stream_index;
     int64_t duration_pos;
     int64_t tag_pos;
     int64_t vframes_pos;
@@ -82,7 +81,7 @@ typedef struct {
 static const AVCodecTag swf_codec_tags[] = {
     {CODEC_ID_FLV1, 0x02},
     {CODEC_ID_VP6F, 0x04},
-    {0, 0},
+    {CODEC_ID_NONE,    0},
 };
 
 static const AVCodecTag swf_audio_codec_tags[] = {
@@ -91,7 +90,7 @@ static const AVCodecTag swf_audio_codec_tags[] = {
     {CODEC_ID_MP3,        0x02},
     {CODEC_ID_PCM_S16LE,  0x03},
   //{CODEC_ID_NELLYMOSER, 0x06},
-    {0, 0},
+    {CODEC_ID_NONE,          0},
 };
 
 #endif /* AVFORMAT_SWF_H */