Skip to content

Commit

Permalink
fixed android compil without mediacodec - cf #2047
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlf committed Jan 17, 2022
1 parent 89b9375 commit 5bc077d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/filters/dec_mediacodec.c
Expand Up @@ -1283,7 +1283,13 @@ const GF_FilterRegister *mcdec_register(GF_FilterSession *session)
mcdec_configure_pid(NULL, NULL, GF_FALSE);
mcdec_process(NULL);
#endif
return &GF_MCDecCtxRegister;

#elif defined(GPAC_HAS_MEDIACODEC)

#endif
return &GF_MCDecCtxRegister;
#else

return NULL;
#endif
}

0 comments on commit 5bc077d

Please sign in to comment.