diff options
author | Matt Oliver <[email protected]> | 2018-04-10 23:01:18 +1000 |
---|---|---|
committer | Marton Balint <[email protected]> | 2018-05-01 21:21:02 +0200 |
commit | 29328d96b90fc20048803201b379c6c6a18661b4 (patch) | |
tree | 2a831c5ec9c303c9e75c9b106d21fbf2acb31e2b /libavcodec/latm_parser.c | |
parent | 44cb6474770e6603913cb76e3be4278f663aad3e (diff) |
ffplay: Fix realloc_texture when input texture is NULL.
SDL_QueryTexture and SDL_DestroyTexture require that the input texture
pointer be non-null. Debug builds of SDL will correctly check for this
and break program execution. This patch fixes this by checking the
status of the texture pointer.
Signed-off-by: Matt Oliver <[email protected]>
(cherry picked from commit 6be690685a8876a61f87b2b8bf30547e09030a96)
Diffstat (limited to 'libavcodec/latm_parser.c')
0 files changed, 0 insertions, 0 deletions