[vlc-commits] codec: dav1d: treat decode errors as non fatal

Francois Cartegnie git at videolan.org
Thu Feb 13 11:32:40 CET 2020


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 12 18:27:59 2020 +0100| [ae25ccd854957ad7148bd4b18c283b3a86e9d60b] | committer: Francois Cartegnie

codec: dav1d: treat decode errors as non fatal

since it doesn't make the difference and EGENERIC
is now seen as ECRITICAL...

(cherry picked from commit d7c05336177a07e445d5c9021b5dba075cafc3a0)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=ae25ccd854957ad7148bd4b18c283b3a86e9d60b
---

 modules/codec/dav1d.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/codec/dav1d.c b/modules/codec/dav1d.c
index 6334bef818..b692d2ad45 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -250,8 +250,7 @@ static int Decode(decoder_t *dec, block_t *block)
         }
         else if (res != DAV1D_ERR(EAGAIN))
         {
-            msg_Err(dec, "Decoder error %d!", res);
-            i_ret = VLC_EGENERIC;
+            msg_Warn(dec, "Decoder error %d!", res);
             break;
         }
 



More information about the vlc-commits mailing list