mirror of https://git.ffmpeg.org/ffmpeg.git
remove unused fields in swf context
Originally committed as revision 17968 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2261a952f9
commit
40a1d41fd2
|
@ -65,7 +65,6 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int audio_stream_index;
|
|
||||||
int64_t duration_pos;
|
int64_t duration_pos;
|
||||||
int64_t tag_pos;
|
int64_t tag_pos;
|
||||||
int64_t vframes_pos;
|
int64_t vframes_pos;
|
||||||
|
|
|
@ -130,7 +130,6 @@ static int swf_read_packet(AVFormatContext *s, AVPacket *pkt)
|
||||||
ast = av_new_stream(s, -1); /* -1 to avoid clash with video stream ch_id */
|
ast = av_new_stream(s, -1); /* -1 to avoid clash with video stream ch_id */
|
||||||
if (!ast)
|
if (!ast)
|
||||||
return -1;
|
return -1;
|
||||||
swf->audio_stream_index = ast->index;
|
|
||||||
ast->codec->channels = 1 + (v&1);
|
ast->codec->channels = 1 + (v&1);
|
||||||
ast->codec->codec_type = CODEC_TYPE_AUDIO;
|
ast->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||||
ast->codec->codec_id = codec_get_id(swf_audio_codec_tags, (v>>4) & 15);
|
ast->codec->codec_id = codec_get_id(swf_audio_codec_tags, (v>>4) & 15);
|
||||||
|
|
Loading…
Reference in New Issue