projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
libvpx
/
source
/
libvpx
/
vp9
/
common
/
vp9_frame_buffers.c
diff --git
a/src/third_party/libvpx/source/libvpx/vp9/common/vp9_frame_buffers.c
b/src/third_party/libvpx/source/libvpx/vp9/common/vp9_frame_buffers.c
index
a0b1e03
..
733b3a9
100644
(file)
--- a/
src/third_party/libvpx/source/libvpx/vp9/common/vp9_frame_buffers.c
+++ b/
src/third_party/libvpx/source/libvpx/vp9/common/vp9_frame_buffers.c
@@
-76,6
+76,7
@@
int vp9_get_frame_buffer(void *cb_priv, size_t min_size,
int vp9_release_frame_buffer(void *cb_priv, vpx_codec_frame_buffer_t *fb) {
InternalFrameBuffer *const int_fb = (InternalFrameBuffer *)fb->priv;
(void)cb_priv;
- int_fb->in_use = 0;
+ if (int_fb)
+ int_fb->in_use = 0;
return 0;
}