Ticket #888 (closed defect: fixed)
a little bug? ffplayer
| Reported by: | zhangjie | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | FFplay |
| Version: | 0.9.1 | Keywords: | av_get_channel_layout_nb_channels |
| Cc: | cus@… | Blocked By: | |
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
stream_component_open()
{
...
wanted_channel_layout = (avctx->channel_layout && avctx->channels == av_get_channel_layout_nb_channels(avctx->channels)) ? avctx->channel_layout : av_get_default_channel_layout(avctx->channels);
...
}
the parameter of function av_get_channel_layout_nb_channels should be "avctx->channel_layout" ?
Change History
Note: See
TracTickets for help on using
tickets.



You are absolutely right, a fix for this was merged yesterday, so this should be fixed in git master.