Opened 5 years ago

Closed 5 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: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


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 Changed 5 years ago by cus

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

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.