Commit c71c3b9f authored by Derek Buitenhuis's avatar Derek Buitenhuis

Merge commit 'a0f469da'

* commit 'a0f469da':
  hwcontext: initialize sw_format in av_hwframe_ctx_alloc()
Merged-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parents ed8bacfb a0f469da
......@@ -209,6 +209,7 @@ AVBufferRef *av_hwframe_ctx_alloc(AVBufferRef *device_ref_in)
ctx->device_ref = device_ref;
ctx->device_ctx = device_ctx;
ctx->format = AV_PIX_FMT_NONE;
ctx->sw_format = AV_PIX_FMT_NONE;
ctx->internal->hw_type = hw_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment