diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 19:13:53 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-15 19:13:53 +0400 |
commit | cd5f50a255321a6917f7a465cd1159fe4fc4948e (patch) | |
tree | 2c9058c6caaac9774139ea0a8c2ffea49eb86c44 /libavfilter/af_apad.c | |
parent | 64308941d4043388a16c2d2fd51c792cfdcc2734 (diff) |
avfilter: avoid direct access to AVFrame.channels
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 b3a4b95e81..b4a0fc8509 100644 --- a/libavfilter/af_apad.c +++ b/libavfilter/af_apad.c @@ -122,7 +122,7 @@ static int request_frame(AVFilterLink *outlink) av_samples_set_silence(outsamplesref->extended_data, 0, n_out, - outsamplesref->channels, + av_frame_get_channels(outsamplesref), outsamplesref->format); outsamplesref->pts = apad->next_pts; |