mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-11 06:28:09 +02:00
g3dvl/xvmc: fix a stupid of by one bug
This commit is contained in:
parent
71ee815b5c
commit
3e92b4fd14
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ unmap_and_flush_surface(XvMCSurfacePrivate *surface)
|
|||
|
||||
assert(surface);
|
||||
|
||||
for ( i = 0; i < 3; ++i ) {
|
||||
for ( i = 0; i < 2; ++i ) {
|
||||
if (surface->ref_surfaces[i]) {
|
||||
XvMCSurfacePrivate *ref = surface->ref_surfaces[i]->privData;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue