diff options
author | Christian König <[email protected]> | 2011-04-02 20:29:27 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-04-02 20:29:27 +0200 |
commit | 3e92b4fd14b731bd6984aafd220059e27948aea8 (patch) | |
tree | ec137883fff1a650249977bf0e109e834e6b9f87 /src/gallium | |
parent | 71ee815b5cb0612906f9400f9a06ce8b7cdd51b3 (diff) |
g3dvl/xvmc: fix a stupid of by one bug
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/xorg/xvmc/surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/surface.c b/src/gallium/state_trackers/xorg/xvmc/surface.c index 67dc57d4344..23f97b3dac5 100644 --- a/src/gallium/state_trackers/xorg/xvmc/surface.c +++ b/src/gallium/state_trackers/xorg/xvmc/surface.c @@ -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; |