diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-29 12:11:24 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-03-31 11:58:20 +0200 |
commit | 4dae804d3c6d2886fa6f2b86c0bf7b1d8fce0c91 (patch) | |
tree | d0f33de858ff145e49648501d74ea4b8a88e5316 | |
parent | eb054a9693629b013b3472b4f0b2a888031542e4 (diff) | |
download | ffmpeg-4dae804d3c6d2886fa6f2b86c0bf7b1d8fce0c91.tar.gz |
lavfi/volume: use copy props helper instead of incomplete manual code.
-rw-r--r-- | libavfilter/af_volume.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c index 447e8d57fe..0dccac8072 100644 --- a/libavfilter/af_volume.c +++ b/libavfilter/af_volume.c @@ -234,7 +234,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) out_buf = ff_get_audio_buffer(inlink, nb_samples); if (!out_buf) return AVERROR(ENOMEM); - out_buf->pts = buf->pts; + av_frame_copy_props(out_buf, buf); } if (vol->precision != PRECISION_FIXED || vol->volume_i > 0) { |