From fc8406d01ed5266d9ffefa4f0b6319f966786bf9 Mon Sep 17 00:00:00 2001
From: Janne Grunau <janne-libav@jannau.net>
Date: Mon, 11 Mar 2013 13:29:39 +0100
Subject: [PATCH] avframe: copy reordered_opaque in copy_props

Fixes video playback in applications still using reordered_opaque.
---
 libavutil/frame.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/frame.c b/libavutil/frame.c
index 7a2a4d183b9..331e174745a 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;
-- 
GitLab