#888: a little bug? ffplayer
-------------------------------------+-------------------------------------
Reporter: zhangjie | Type: defect
Status: new | Priority: normal
Component: FFplay | Version: 0.9.1
Keywords: | Blocked By:
av_get_channel_layout_nb_channels | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
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" ?
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/888>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac