Ticket #888 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

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

comment:1 Changed 17 months ago by cus

  • Cc cus@… added
  • Status changed from new to closed
  • Resolution set to fixed

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.