[FFmpeg-cvslog] avframe: copy reordered_opaque in copy_props

Janne Grunau git at videolan.org
Wed Mar 13 02:12:51 CET 2013


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Mon Mar 11 13:29:39 2013 +0100| [fc8406d01ed5266d9ffefa4f0b6319f966786bf9] | committer: Janne Grunau

avframe: copy reordered_opaque in copy_props

Fixes video playback in applications still using reordered_opaque.

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

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

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 7a2a4d1..331e174 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -373,6 +373,7 @@ int av_frame_copy_props(AVFrame *dst, const AVFrame *src)
     dst->opaque              = src->opaque;
     dst->pkt_pts             = src->pkt_pts;
     dst->pkt_dts             = src->pkt_dts;
+    dst->reordered_opaque    = src->reordered_opaque;
     dst->quality             = src->quality;
     dst->coded_picture_number = src->coded_picture_number;
     dst->display_picture_number = src->display_picture_number;



More information about the ffmpeg-cvslog mailing list