[FFmpeg-cvslog] avfilter/af_afir: call av_frame_copy_props()

Paul B Mahol git at videolan.org
Tue Jan 17 15:55:36 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 14:33:23 2023 +0100| [6a205d244ad0754e671062ed24f596e97e60ee7d] | committer: Paul B Mahol

avfilter/af_afir: call av_frame_copy_props()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6a205d244ad0754e671062ed24f596e97e60ee7d
---

 libavfilter/af_afir.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/af_afir.c b/libavfilter/af_afir.c
index 11fa5074d0..0fe038972f 100644
--- a/libavfilter/af_afir.c
+++ b/libavfilter/af_afir.c
@@ -143,6 +143,7 @@ static int fir_frame(AudioFIRContext *s, AVFrame *in, AVFilterLink *outlink)
         av_frame_free(&in);
         return AVERROR(ENOMEM);
     }
+    av_frame_copy_props(out, in);
     out->pts = s->pts = in->pts;
 
     s->in = in;



More information about the ffmpeg-cvslog mailing list