Commit a8d86fe3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

xvba-buffer.c: destroy_va_buffer: disable check for map refcount.

Disable the check for the mapping refcount in destroy_va_buffer() since
some ffmpeg version have a bug that they do not unmap the buffer properly
in certain error paths.
parent b5944186
...@@ -228,7 +228,7 @@ destroy_va_buffer( ...@@ -228,7 +228,7 @@ destroy_va_buffer(
if (!obj_buffer) if (!obj_buffer)
return; return;
ASSERT(obj_buffer->map_refcnt == 0); //ASSERT(obj_buffer->map_refcnt == 0);
if (obj_buffer->buffer_data) { if (obj_buffer->buffer_data) {
free(obj_buffer->buffer_data); free(obj_buffer->buffer_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment