Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'
* commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967': Remove pointless #undefs of previously forbidden functions. fate: Add dependencies for bmp, cdxl, dfa, mp3 Conflicts: doc/examples/muxing.c libavfilter/filtfmts.c libavutil/des.c libavutil/eval.c libavutil/log.c libavutil/parseutils.c tests/fate/mp3.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -31,8 +31,6 @@
|
||||
#include "random_seed.h"
|
||||
#include "parseutils.h"
|
||||
|
||||
#undef time
|
||||
|
||||
#ifdef TEST
|
||||
|
||||
#define av_get_random_seed av_get_random_seed_deterministic
|
||||
@@ -676,15 +674,13 @@ int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info
|
||||
|
||||
#ifdef TEST
|
||||
|
||||
static uint32_t random = MKTAG('L','A','V','U');
|
||||
static uint32_t randomv = MKTAG('L','A','V','U');
|
||||
|
||||
static uint32_t av_get_random_seed_deterministic(void)
|
||||
{
|
||||
return random = random * 1664525 + 1013904223;
|
||||
return randomv = randomv * 1664525 + 1013904223;
|
||||
}
|
||||
|
||||
#undef printf
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("Testing av_parse_video_rate()\n");
|
||||
|
Reference in New Issue
Block a user