mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-25 04:09:57 +00:00
merge init and declaration
Originally committed as revision 13460 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4a712c3378
commit
11dae3365a
@ -307,12 +307,10 @@ static int swf_write_header(AVFormatContext *s)
|
||||
}
|
||||
|
||||
if (audio_enc && audio_enc->codec_id == CODEC_ID_MP3) {
|
||||
int v;
|
||||
int v = 0;
|
||||
|
||||
/* start sound */
|
||||
put_swf_tag(s, TAG_STREAMHEAD2);
|
||||
|
||||
v = 0;
|
||||
switch(audio_enc->sample_rate) {
|
||||
case 11025:
|
||||
v |= 1 << 2;
|
||||
|
Loading…
Reference in New Issue
Block a user