History

xmv: convert to new channel layout API

Vittorio Giovara committed 9 years ago

Commit 9fd38871 parent 1e5f4f81 file · +1 −1Browse files

Unified · Split

libavformat/xmv.c+1−1
@@ -332,7 +332,7 @@ static int xmv_process_packet_header(AVFormatContext *s) · 331 unmodified lines
332332 ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
333333 ast->codecpar->codec_id = packet->codec_id;
334334 ast->codecpar->codec_tag = packet->compression;
335− ast->codecpar->channels = packet->channels;
335+ ast->codecpar->ch_layout.nb_channels = packet->channels;
336336 ast->codecpar->sample_rate = packet->sample_rate;
337337 ast->codecpar->bits_per_coded_sample = packet->bits_per_sample;
338338 ast->codecpar->bit_rate = packet->bit_rate;

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