aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-03-09 17:17:59 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-10 01:25:02 +0100
commitd1b456b0a80a92f8fd96adb244d4697addf319bd (patch)
treed615cabbc77b0e1d70a1c4fd79d8bf9b5d4aef89
parentee0a8bcba145d7dbdcb86c77b93510b7fb7447e1 (diff)
downloadffmpeg-d1b456b0a80a92f8fd96adb244d4697addf319bd.tar.gz
lavu/frame: copy the channels field.
-rw-r--r--libavutil/frame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 4f218ba24d..2e2393d47e 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -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;