mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2025-07-04 00:36:01 +00:00
Merge remote-tracking branch 'AreaScout/ffmpeg'
This commit is contained in:
commit
4446c4fc5a
@ -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) {
|
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
|
// Initialize the avcodec library and register codecs
|
||||||
av_log_set_level(AV_LOG_QUIET);
|
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);
|
av_init_packet(&pkt);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user