Skip to content

Commit

Permalink
Add comment for deprecated avcodec_register_all
Browse files Browse the repository at this point in the history
Apparently this is now done automatically and doesn't even need to be called at all
  • Loading branch information
Megamouse authored and Nekotekina committed Jan 8, 2021
1 parent 72e1d03 commit 36159c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpcs3/Emu/Cell/Modules/cellVdec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ struct vdec_context final
#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)
Expand Down

0 comments on commit 36159c2

Please sign in to comment.