projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afe6f33
)
vf_framestep: fix uninitilaized variable bug
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 30 Aug 2012 03:09:15 +0000
(
05:09
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 30 Aug 2012 03:09:15 +0000
(
05:09
+0200)
Found-by: gcc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_framestep.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_framestep.c
b/libavfilter/vf_framestep.c
index
e903765
..
dcb2665
100644
(file)
--- a/
libavfilter/vf_framestep.c
+++ b/
libavfilter/vf_framestep.c
@@
-35,9
+35,7
@@
static av_cold int init(AVFilterContext *ctx, const char *args)
{
FrameStepContext *framestep = ctx->priv;
char *tailptr;
- long int n;
-
- framestep->frame_step = 1;
+ long int n = 1;
if (args) {
n = strtol(args, &tailptr, 10);