[vlc-commits] omxil: remove dead code

Rémi Denis-Courmont git at videolan.org
Fri Dec 4 15:47:28 UTC 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 30 23:28:13 2020 +0200| [4efe147379d039aae65e76663e24759ad97297fd] | committer: Rémi Denis-Courmont

omxil: remove dead code

That error code cannot be returned here.

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

 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);



More information about the vlc-commits mailing list