You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavu/frame: copy the channels field.
This commit is contained in:
committed by
Michael Niedermayer
parent
ee0a8bcba1
commit
d1b456b0a8
@@ -194,6 +194,7 @@ int av_frame_ref(AVFrame *dst, AVFrame *src)
|
|||||||
dst->format = src->format;
|
dst->format = src->format;
|
||||||
dst->width = src->width;
|
dst->width = src->width;
|
||||||
dst->height = src->height;
|
dst->height = src->height;
|
||||||
|
dst->channels = src->channels;
|
||||||
dst->channel_layout = src->channel_layout;
|
dst->channel_layout = src->channel_layout;
|
||||||
dst->nb_samples = src->nb_samples;
|
dst->nb_samples = src->nb_samples;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user