Commit 74bb1ca8 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/frame_copy_audio: also check that channels match

Signed-off-by: 's avatarMichael Niedermayer <>
parent fff52623
......@@ -614,6 +614,7 @@ static int frame_copy_audio(AVFrame *dst, const AVFrame *src)
int i;
if (dst->nb_samples != src->nb_samples ||
dst->channels != src->channels ||
dst->channel_layout != src->channel_layout)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment