mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-02 07:45:48 +00:00
Add: register all for FFmpeg
This commit is contained in:
parent
e21e2074e3
commit
aee5d9968b
@ -49,6 +49,9 @@ enum decoders ffmpeg_decoder;
|
||||
int ffmpeg_init(int videoFormat, int width, int height, int perf_lvl, int buffer_count, int thread_count) {
|
||||
// Initialize the avcodec library and register codecs
|
||||
av_log_set_level(AV_LOG_QUIET);
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58,10,100)
|
||||
avcodec_register_all();
|
||||
#endif
|
||||
|
||||
av_init_packet(&pkt);
|
||||
|
||||
|
2
third_party/moonlight-common-c
vendored
2
third_party/moonlight-common-c
vendored
@ -1 +1 @@
|
||||
Subproject commit 6bb60b19775bae2097855bd5d67aed2d7e023dfe
|
||||
Subproject commit 470d057a252c0af7fc04be39eee3426de79bc3dc
|
Loading…
x
Reference in New Issue
Block a user