History

yop: convert to new channel layout API

Vittorio Giovara committed 9 years ago

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

Unified · Split

libavformat/yop.c+1−2
@@ -72,8 +72,7 @@ static int yop_read_header(AVFormatContext *s) · 71 unmodified lines
7272 audio_par = audio_stream->codecpar;
7373 audio_par->codec_type = AVMEDIA_TYPE_AUDIO;
7474 audio_par->codec_id = AV_CODEC_ID_ADPCM_IMA_APC;
75− audio_par->channels = 1;
76− audio_par->channel_layout = AV_CH_LAYOUT_MONO;
75+ audio_par->ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_MONO;
7776 audio_par->sample_rate = 22050;
7877
7978 // 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