From abe9ec591b4bb4d8376a179aac8ffb84937a10c0 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 15 Jun 2020 09:11:20 +0200 Subject: [PATCH] Remove old patch --- buildfix_for_old_dav1d.patch | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 buildfix_for_old_dav1d.patch diff --git a/buildfix_for_old_dav1d.patch b/buildfix_for_old_dav1d.patch deleted file mode 100644 index ab484ff..0000000 --- a/buildfix_for_old_dav1d.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/modules/codec/dav1d.c -+++ b/modules/codec/dav1d.c -@@ -223,7 +223,7 @@ - if( p_data ) - { - res = dav1d_send_data(p_sys->c, p_data); -- if (res < 0 && res != DAV1D_ERR(EAGAIN)) -+ if (res < 0 && res != -EAGAIN) - { - msg_Err(dec, "Decoder feed error %d!", res); - i_ret = VLC_EGENERIC; -@@ -248,15 +248,14 @@ - decoder_QueueVideo(dec, pic); - dav1d_picture_unref(&img); - } -- else if (res != DAV1D_ERR(EAGAIN)) -+ else if (res != -EAGAIN) - { - msg_Warn(dec, "Decoder error %d!", res); - break; - } - - /* on drain, we must ignore the 1st EAGAIN */ -- if(!b_draining && (res == DAV1D_ERR(EAGAIN) || res == 0) -- && (p_data == NULL||b_eos)) -+ if(!b_draining && (res == -EAGAIN || res == 0) && (p_data == NULL||b_eos)) - { - b_draining = true; - res = 0; -