[FFmpeg-cvslog] lavu/frame: copy the channels field.

Nicolas George git at videolan.org
Sun Mar 10 01:26:01 CET 2013


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Mar  9 17:17:59 2013 +0100| [d1b456b0a80a92f8fd96adb244d4697addf319bd] | committer: Michael Niedermayer

lavu/frame: copy the channels field.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1b456b0a80a92f8fd96adb244d4697addf319bd
---

 libavutil/frame.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 4f218ba..2e2393d 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;
 



More information about the ffmpeg-cvslog mailing list