diff options
author | Julian Scheel <julian@jusst.de> | 2010-04-24 17:49:14 +0200 |
---|---|---|
committer | Julian Scheel <julian@jusst.de> | 2010-04-24 17:49:14 +0200 |
commit | 850476e20b8963357071b4983db47089371c8206 (patch) | |
tree | 878433c800696791717c78a3bfcfa5e304f4b471 /src | |
parent | ee1c3528e10506d57ae949e38379bab95516c084 (diff) | |
download | xine-lib-850476e20b8963357071b4983db47089371c8206.tar.gz xine-lib-850476e20b8963357071b4983db47089371c8206.tar.bz2 |
fix dpb overflow handling
Diffstat (limited to 'src')
-rw-r--r-- | src/video_dec/libvdpau/dpb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_dec/libvdpau/dpb.c b/src/video_dec/libvdpau/dpb.c index 13b9a3329..1bdb06b27 100644 --- a/src/video_dec/libvdpau/dpb.c +++ b/src/video_dec/libvdpau/dpb.c @@ -476,7 +476,7 @@ int dpb_add_picture(struct dpb *dpb, struct decoded_picture *pic, uint32_t num_r } if(discard_ref != NULL) { - dpb_remove_picture(dpb, pic); + dpb_remove_picture(dpb, discard_ref); } return 0; |