Commit d1b456b0 authored by Nicolas George's avatar Nicolas George Committed by Michael Niedermayer

lavu/frame: copy the channels field.

parent ee0a8bcb
......@@ -194,6 +194,7 @@ int av_frame_ref(AVFrame *dst, AVFrame *src)
dst->format = src->format;
dst->width = src->width;
dst->height = src->height;
dst->channels = src->channels;
dst->channel_layout = src->channel_layout;
dst->nb_samples = src->nb_samples;
......
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