Message ID | 20161212221956.14992-1-cus@passwd.hu |
---|---|
State | Accepted |
Commit | 265d45183be13a43dc08d962a5a60b15e6eff6c0 |
Headers | show |
On 12/12/16, Marton Balint <cus@passwd.hu> wrote: > Signed-off-by: Marton Balint <cus@passwd.hu> > --- > libavfilter/avfilter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) lgtm
On Tue, 13 Dec 2016, Paul B Mahol wrote: > On 12/12/16, Marton Balint <cus@passwd.hu> wrote: >> Signed-off-by: Marton Balint <cus@passwd.hu> >> --- >> libavfilter/avfilter.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > lgtm Thanks, pushed. Regards, Marton
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 662f933..6f30e3b 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -1096,7 +1096,7 @@ static int ff_filter_frame_framed(AVFilterLink *link, AVFrame *frame) case AVMEDIA_TYPE_AUDIO: av_samples_copy(out->extended_data, frame->extended_data, 0, 0, frame->nb_samples, - av_get_channel_layout_nb_channels(frame->channel_layout), + av_frame_get_channels(frame), frame->format); break; default:
Signed-off-by: Marton Balint <cus@passwd.hu> --- libavfilter/avfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)