History

yop: convert to new channel layout API

Vittorio Giovara committed 9 years ago

Commit bc67df61 parent 95bf5871 file · +1 −2Browse files

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/yop.c+1−2
@@ -72,8 +72,7 @@ static int yop_read_header(AVFormatContext *s) · 71 unmodified lines
72 audio_par = audio_stream->codecpar;72 audio_par = audio_stream->codecpar;
73 audio_par->codec_type = AVMEDIA_TYPE_AUDIO;73 audio_par->codec_type = AVMEDIA_TYPE_AUDIO;
74 audio_par->codec_id = AV_CODEC_ID_ADPCM_IMA_APC;74 audio_par->codec_id = AV_CODEC_ID_ADPCM_IMA_APC;
75 audio_par->channels = 1;75 audio_par->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
76 audio_par->channel_layout = AV_CH_LAYOUT_MONO;
77 audio_par->sample_rate = 22050;76 audio_par->sample_rate = 22050;
78 77
79 // Video78 // Video

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t