mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 02:19:35 +00:00
avfilter/af_afir: call av_frame_copy_props()
This commit is contained in:
parent
cc7e984a05
commit
6a205d244a
@ -143,6 +143,7 @@ static int fir_frame(AudioFIRContext *s, AVFrame *in, AVFilterLink *outlink)
|
|||||||
av_frame_free(&in);
|
av_frame_free(&in);
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
|
av_frame_copy_props(out, in);
|
||||||
out->pts = s->pts = in->pts;
|
out->pts = s->pts = in->pts;
|
||||||
|
|
||||||
s->in = in;
|
s->in = in;
|
||||||
|
Loading…
Reference in New Issue
Block a user