diff options
author | wm4 <wm4@nowhere> | 2016-02-05 17:46:46 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-05 17:46:46 +0100 |
commit | fd339e3f53996efd2dae9525990da433d1e1bf89 (patch) | |
tree | 5bf358cee74510ea995ee0eb2b3418c11d16da8c /video/out/vo_rpi.c | |
parent | b4f63cbbec563e46ef01899b7292e301e961ec1d (diff) | |
download | mpv-fd339e3f53996efd2dae9525990da433d1e1bf89.tar.bz2 mpv-fd339e3f53996efd2dae9525990da433d1e1bf89.tar.xz |
vd_lavc: avoid calling flush on an unopened AVCodecContext
It can be "dangerous". In particular, the decoder might have failed to
initialize, and is now in a broken state. avcodec_flush_buffers() is not
expected to be called in this state, and could trigger undefined
behavior.
Diffstat (limited to 'video/out/vo_rpi.c')
0 files changed, 0 insertions, 0 deletions