Skip to content

Instantly share code, notes, and snippets.

@vddvss
Created October 18, 2019 00:47
Show Gist options
  • Save vddvss/cc5a5e1f5c9b274ea3a85fce343e36a8 to your computer and use it in GitHub Desktop.
Save vddvss/cc5a5e1f5c9b274ea3a85fce343e36a8 to your computer and use it in GitHub Desktop.
llvm codegen issue workaround
--- chromium-77.0.3865.120/third_party/ffmpeg/libavformat/utils.c.orig 2019-10-10 14:55:27.000000000 -0400
+++ chromium-77.0.3865.120/third_party/ffmpeg/libavformat/utils.c 2019-10-17 15:39:59.495117121 -0400
@@ -3316,7 +3316,7 @@
int ff_rfps_add_frame(AVFormatContext *ic, AVStream *st, int64_t ts)
{
- int i, j;
+ volatile int i, j;
int64_t last = st->info->last_dts;
if ( ts != AV_NOPTS_VALUE && last != AV_NOPTS_VALUE && ts > last
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment