[FFmpeg-devel] [PATCH v1 6/6] avfilter/vf_random: seeds is uint32, it's enough to use int32_t
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Fri Oct 11 09:14:44 EEST 2019
From: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
libavfilter/vf_random.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_random.c b/libavfilter/vf_random.c
index 1937eae771..9f2153be61 100644
--- a/libavfilter/vf_random.c
+++ b/libavfilter/vf_random.c
@@ -33,7 +33,7 @@ typedef struct RandomContext {
AVLFG lfg;
int nb_frames;
- int64_t random_seed;
+ int32_t random_seed;
int nb_frames_filled;
AVFrame *frames[MAX_FRAMES];
int64_t pts[MAX_FRAMES];
--
2.21.0
More information about the ffmpeg-devel
mailing list