mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
remove deprecated avcodec_register_all
We already use newer avcodec code anyway.
This commit is contained in:
parent
cbc1c472d5
commit
0525070898
1 changed files with 0 additions and 15 deletions
|
@ -136,21 +136,6 @@ struct vdec_context final
|
||||||
, cb_func(func)
|
, cb_func(func)
|
||||||
, cb_arg(arg)
|
, cb_arg(arg)
|
||||||
{
|
{
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma warning(push, 0)
|
|
||||||
#else
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
||||||
#endif
|
|
||||||
// TODO: This function should be removed at some point, since ffmpeg does it automatically now.
|
|
||||||
// We'll keep it for compatibility for now until more system ffmpeg libs are up to date.
|
|
||||||
avcodec_register_all();
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma warning(pop)
|
|
||||||
#else
|
|
||||||
#pragma GCC diagnostic pop
|
|
||||||
#endif
|
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case CELL_VDEC_CODEC_TYPE_MPEG2:
|
case CELL_VDEC_CODEC_TYPE_MPEG2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue