summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-01 01:34:55 +0200
committerwm4 <wm4@nowhere>2015-06-01 01:34:55 +0200
commitebde784fabe12791956cbe4a23a9e4bda4a4a205 (patch)
tree96d56cd4fe9b167c5d67627a8fd7bc6c028387aa /TOOLS
parent8e010a500d4e7d74249606ee130f9e29d373fc5b (diff)
downloadmpv-ebde784fabe12791956cbe4a23a9e4bda4a4a205.tar.bz2
mpv-ebde784fabe12791956cbe4a23a9e4bda4a4a205.tar.xz
vf_vavpp: move vaMapBuffer() closer to its use
The mapped data (pointed to by the param variable) is not needed before, so the call can be moved down. Also, this prevents that the buffer remains mapped forever if the other vaMapBuffer() call above fails (the cleanup code forgets to unmap the buffer - this commit makes it unnecessary).
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions