Commit 6b105df9 authored by michael's avatar michael

merge decl & init


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14001 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ce717506
......@@ -202,7 +202,7 @@ static int str_read_packet(AVFormatContext *s,
case CDXA_TYPE_AUDIO:
if(str->channels[channel].audio_stream_index < 0){
int fmt;
int fmt = sector[0x13];
/* allocate a new AVStream */
st = av_new_stream(s, 0);
if (!st)
......@@ -210,7 +210,6 @@ static int str_read_packet(AVFormatContext *s,
str->channels[channel].audio_stream_index = st->index;
fmt = sector[0x13];
st->codec->codec_type = CODEC_TYPE_AUDIO;
st->codec->codec_id = CODEC_ID_ADPCM_XA;
st->codec->codec_tag = 0; /* no fourcc */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment