OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84e635
)
avfilter/avfilter: fix filtering frames with unknown channel layouts for filters...
author
Marton Balint
<cus@passwd.hu>
Mon, 12 Dec 2016 21:42:27 +0000
(22:42 +0100)
committer
Marton Balint
<cus@passwd.hu>
Tue, 13 Dec 2016 08:57:10 +0000
(09:57 +0100)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavfilter/avfilter.c
patch
|
blob
|
history
diff --git
a/libavfilter/avfilter.c
b/libavfilter/avfilter.c
index
662f933
..
6f30e3b
100644
(file)
--- 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: