[FFmpeg-devel] [PATCH 3/4] rkmppdec: Set AVDRMFrameDescriptor.format
Jonas Karlman
jonas at kwiboo.se
Thu May 9 22:41:13 EEST 2019
Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
libavcodec/rkmppdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/rkmppdec.c b/libavcodec/rkmppdec.c
index 143d05bd51..3ea64d867e 100644
--- a/libavcodec/rkmppdec.c
+++ b/libavcodec/rkmppdec.c
@@ -419,6 +419,7 @@ static int rkmpp_retrieve_frame(AVCodecContext *avctx, AVFrame *frame)
goto fail;
}
+ desc->format = drmformat;
desc->nb_objects = 1;
desc->objects[0].fd = mpp_buffer_get_fd(buffer);
desc->objects[0].size = mpp_buffer_get_size(buffer);
--
2.17.1
More information about the ffmpeg-devel
mailing list