History

Revert "tools/uncoded_frame: remove usage of avfilter_link_get_channels()"

This reverts commit 01c21653eee53a353ae887a47cd2b48165902383. It was applied by accident before it could be reviewed.

James Almer committed 8 years ago

Commit 503164b1 parent 077fe9e1 file · +1 −1Browse files

Unified · Split

tools/uncoded_frame.c+1−1
@@ -178,7 +178,7 @@ int main(int argc, char **argv) · 177 unmodified lines
178178 break;
179179 case AVMEDIA_TYPE_AUDIO:
180180 st->stream->codec->channel_layout = st->link->channel_layout;
181− st->stream->codec->channels = st->link->channels;
181+ st->stream->codec->channels = avfilter_link_get_channels(st->link);
182182 st->stream->codec->sample_rate = st->link->sample_rate;
183183 st->stream->codec->sample_fmt = st->link->format;
184184 st->stream->codec->codec_id =

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