diff options
Diffstat (limited to 'libavfilter/af_apad.c')
-rw-r--r-- | libavfilter/af_apad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_apad.c b/libavfilter/af_apad.c index 0a2d4206a9..8171f2a3d4 100644 --- a/libavfilter/af_apad.c +++ b/libavfilter/af_apad.c @@ -119,7 +119,7 @@ static int request_frame(AVFilterLink *outlink) av_samples_set_silence(outsamplesref->extended_data, 0, n_out, - av_frame_get_channels(outsamplesref), + outsamplesref->channels, outsamplesref->format); outsamplesref->pts = s->next_pts; |