[FFmpeg-cvslog] random_seed: use proper #includes

Mans Rullgard git at videolan.org
Mon Jul 18 16:48:48 CEST 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun Jul 17 14:17:10 2011 +0100| [172ee1da2b2b7c84733822092eb29fcaec102055] | committer: Mans Rullgard

random_seed: use proper #includes

Use <> for system headers, add needed math.h, drop unnecessary avutil.h.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=172ee1da2b2b7c84733822092eb29fcaec102055
---

 libavutil/random_seed.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c
index a1078d8..ee71542 100644
--- a/libavutil/random_seed.c
+++ b/libavutil/random_seed.c
@@ -20,10 +20,10 @@
 
 #include <unistd.h>
 #include <fcntl.h>
+#include <math.h>
+#include <time.h>
 #include "timer.h"
-#include "time.h"
 #include "random_seed.h"
-#include "avutil.h"
 
 static int read_random(uint32_t *dst, const char *file)
 {



More information about the ffmpeg-cvslog mailing list