diff options
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index b9cd38bc5..95e3ff018 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -652,10 +652,10 @@ static void vdpau_h264_reset (video_decoder_t *this_gen) { dpb_free_all( &(this->nal_parser->dpb) ); - /*if (this->decoder != VDP_INVALID_HANDLE) { + if (this->decoder != VDP_INVALID_HANDLE) { this->vdpau_accel->vdp_decoder_destroy( this->decoder ); this->decoder = VDP_INVALID_HANDLE; - }*/ + } free_parser(this->nal_parser); this->nal_parser = init_parser(); |