diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-04-03 11:10:00 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-04-03 11:10:00 +0000 |
commit | 6fcb4ae1d81dd104598001f55c80864c08d848af (patch) | |
tree | af4d1540bc0ed59a7ecbb9fd5e939f35d32e4de8 /libavfilter | |
parent | 0ab10f69efd3ab0e66ec9d611e2d41bdccea83cd (diff) | |
download | ffmpeg-6fcb4ae1d81dd104598001f55c80864c08d848af.tar.gz |
lavfi/afade * biquads: call av_frame_copy_props()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_afade.c | 2 | ||||
-rw-r--r-- | libavfilter/af_biquads.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_afade.c b/libavfilter/af_afade.c index 1134849282..7f68327576 100644 --- a/libavfilter/af_afade.c +++ b/libavfilter/af_afade.c @@ -250,7 +250,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 ((!afade->type && (cur_sample + nb_samples < afade->start_sample)) || diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c index a3acd041c7..2db0e02f35 100644 --- a/libavfilter/af_biquads.c +++ b/libavfilter/af_biquads.c @@ -406,7 +406,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); } for (ch = 0; ch < av_frame_get_channels(buf); ch++) |