diff options
author | Moonchild <mcwerewolf@wolfbeast.com> | 2018-12-29 20:54:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-29 20:54:57 +0100 |
commit | 5920c1dc65a9801a5f7366921a642dcd301803c5 (patch) | |
tree | 192791897f7e2ae85f7a4c6b37e5fafdf42e4819 /dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp | |
parent | 83cd9661c27e943e84d6f299a1b3e6323a330d04 (diff) | |
parent | 68acfbb14b48a988e68e056a1d3376cef0f6fba6 (diff) | |
download | UXP-5920c1dc65a9801a5f7366921a642dcd301803c5.tar UXP-5920c1dc65a9801a5f7366921a642dcd301803c5.tar.gz UXP-5920c1dc65a9801a5f7366921a642dcd301803c5.tar.lz UXP-5920c1dc65a9801a5f7366921a642dcd301803c5.tar.xz UXP-5920c1dc65a9801a5f7366921a642dcd301803c5.zip |
Merge pull request #921 from trav90/media-work
Use new decode API with recent FFmpeg version
Diffstat (limited to 'dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp')
-rw-r--r-- | dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp b/dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp index e1c326818..426e9f74b 100644 --- a/dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp +++ b/dom/media/platforms/ffmpeg/FFmpegLibWrapper.cpp @@ -145,6 +145,8 @@ FFmpegLibWrapper::Link() AV_FUNC(avcodec_alloc_frame, (AV_FUNC_53 | AV_FUNC_54)) AV_FUNC(avcodec_get_frame_defaults, (AV_FUNC_53 | AV_FUNC_54)) AV_FUNC(avcodec_free_frame, AV_FUNC_54) + AV_FUNC(avcodec_send_packet, AV_FUNC_58) + AV_FUNC(avcodec_receive_frame, AV_FUNC_58) AV_FUNC(av_log_set_level, AV_FUNC_AVUTIL_ALL) AV_FUNC(av_malloc, AV_FUNC_AVUTIL_ALL) AV_FUNC(av_freep, AV_FUNC_AVUTIL_ALL) |