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:
729709b
)
lavfi/ashowinfo: unbreak for >8 channels
author
Paul B Mahol
<onemda@gmail.com>
Sat, 13 Jul 2013 22:04:14 +0000
(22:04 +0000)
committer
Paul B Mahol
<onemda@gmail.com>
Sat, 13 Jul 2013 22:04:14 +0000
(22:04 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/af_ashowinfo.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_ashowinfo.c
b/libavfilter/af_ashowinfo.c
index
75aed80
..
08a6395
100644
(file)
--- a/
libavfilter/af_ashowinfo.c
+++ b/
libavfilter/af_ashowinfo.c
@@
-57,7
+57,7
@@
static int filter_frame(AVFilterLink *inlink, AVFrame *buf)
AShowInfoContext *s = ctx->priv;
char chlayout_str[128];
uint32_t checksum = 0;
- int channels =
av_get_channel_layout_nb_channels(buf->channel_layout)
;
+ int channels =
inlink->channels
;
int planar = av_sample_fmt_is_planar(buf->format);
int block_align = av_get_bytes_per_sample(buf->format) * (planar ? 1 : channels);
int data_size = buf->nb_samples * block_align;