Opened 13 years ago

Closed 13 years ago

#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@passwd.hu 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 (1)

comment:1 by Marton Balint, 13 years ago

Cc: cus@passwd.hu added
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.