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

Francois Cartegnie git at videolan.org
Wed Feb 12 19:16:01 CET 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Feb 12 18:27:59 2020 +0100| [d7c05336177a07e445d5c9021b5dba075cafc3a0] | 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...

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

 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 7e1331ebbc..7b43391461 100644
--- a/modules/codec/dav1d.c
+++ b/modules/codec/dav1d.c
@@ -252,8 +252,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