[vlc-devel] [PATCH] omxil: remove dead code

remi at remlab.net remi at remlab.net
Wed Dec 2 20:46:20 CET 2020


From: RĂ©mi Denis-Courmont <remi at remlab.net>

That error code cannot be returned here.
---
 modules/codec/omxil/mediacodec.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index 041faa9a46..e5dae9343f 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -1647,8 +1647,6 @@ static int DecodeBlock(decoder_t *p_dec, block_t *p_in_block)
             case VLC_SUCCESS:
                 msg_Warn(p_dec, "Restarted from DecodeBlock");
                 break;
-            case VLC_ENOOBJ:
-                break;
             default:
                 msg_Err(p_dec, "StartMediaCodec failed");
                 AbortDecoderLocked(p_dec);
-- 
2.29.2



More information about the vlc-devel mailing list