"Fossies" - the Fresh Open Source Software Archive

Member "UXP-PM28.7.2_Release/media/ffvpx/changes.patch" (24 Oct 2019, 1652 Bytes) of package /linux/www/UXP-PM28.7.2_Release.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 diff --git a/media/ffvpx/libavutil/eval.c b/media/ffvpx/libavutil/eval.c
    2 index 7642b91..e938bd5 100644
    3 --- a/media/ffvpx/libavutil/eval.c
    4 +++ b/media/ffvpx/libavutil/eval.c
    5 @@ -34,7 +34,7 @@
    6  #include "internal.h"
    7  #include "log.h"
    8  #include "mathematics.h"
    9 -#include "time.h"
   10 +#include "fftime.h"
   11  #include "avstring.h"
   12  #include "timer.h"
   13  
   14 diff --git a/media/ffvpx/libavutil/time.h b/media/ffvpx/libavutil/fftime.h
   15 similarity index 100%
   16 rename from media/ffvpx/libavutil/time.h
   17 rename to media/ffvpx/libavutil/fftime.h
   18 diff --git a/media/ffvpx/libavutil/time.c b/media/ffvpx/libavutil/time.c
   19 index dbaee02..69419e6 100644
   20 --- a/media/ffvpx/libavutil/time.c
   21 +++ b/media/ffvpx/libavutil/time.c
   22 @@ -33,7 +33,7 @@
   23  #include <windows.h>
   24  #endif
   25  
   26 -#include "time.h"
   27 +#include "fftime.h"
   28  #include "error.h"
   29  
   30  int64_t av_gettime(void)
   31 diff --git a/media/ffvpx/libavutil/parseutils.c b/media/ffvpx/libavutil/parseutils.c
   32 index 9fb8d0a..97ad3b9 100644
   33 --- a/media/ffvpx/libavutil/parseutils.c
   34 +++ b/media/ffvpx/libavutil/parseutils.c
   35 @@ -28,7 +28,7 @@
   36  #include "common.h"
   37  #include "eval.h"
   38  #include "log.h"
   39 -#include "random_seed.h"
   40 +/* #include "random_seed.h" */
   41  #include "time_internal.h"
   42  #include "parseutils.h"
   43  
   44 @@ -367,7 +367,7 @@ int av_parse_color(uint8_t *rgba_color, const char *color_string, int slen,
   45      rgba_color[3] = 255;
   46  
   47      if (!av_strcasecmp(color_string2, "random") || !av_strcasecmp(color_string2, "bikeshed")) {
   48 -        int rgba = av_get_random_seed();
   49 +        int rgba = 0xffffffff; /* av_get_random_seed(); */
   50          rgba_color[0] = rgba >> 24;
   51          rgba_color[1] = rgba >> 16;
   52          rgba_color[2] = rgba >> 8;