diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-03-09 20:17:59 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-10 04:25:02 +0400 |
commit | d1b456b0a80a92f8fd96adb244d4697addf319bd (patch) | |
tree | d615cabbc77b0e1d70a1c4fd79d8bf9b5d4aef89 /libavutil/frame.c | |
parent | ee0a8bcba145d7dbdcb86c77b93510b7fb7447e1 (diff) |
lavu/frame: copy the channels field.
Diffstat (limited to 'libavutil/frame.c')
-rw-r--r-- | libavutil/frame.c | 1 |
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; |