projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1a3ea
)
hwcontext: initialize sw_format in av_hwframe_ctx_alloc()
author
Anton Khirnov
<anton@khirnov.net>
Fri, 15 Apr 2016 08:15:54 +0000
(10:15 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 15 Apr 2016 08:15:54 +0000
(10:15 +0200)
libavutil/hwcontext.c
patch
|
blob
|
blame
|
history
diff --git
a/libavutil/hwcontext.c
b/libavutil/hwcontext.c
index
ac1e2c9
..
9ffc718
100644
(file)
--- a/
libavutil/hwcontext.c
+++ b/
libavutil/hwcontext.c
@@
-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;