diff options
author | jstebbins <[email protected]> | 2014-03-14 21:49:44 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2014-03-14 21:49:44 +0000 |
commit | f23b25265e4bf19d36b53cb4922863a2b9d96422 (patch) | |
tree | c599cd335b4f41bb6e2425ce30a7c55c39b4a76b | |
parent | bcedb58231a0417570b1e58af708f0a7528b48c9 (diff) |
libhb: fix uninitialized variable
since a malloc depends on the value of this variable, it's rather important
that it be initialized ;)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6113 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/batch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/batch.c b/libhb/batch.c index 45fcee1a8..ca61287ef 100644 --- a/libhb/batch.c +++ b/libhb/batch.c @@ -47,6 +47,7 @@ hb_batch_t * hb_batch_init( char * path ) return NULL; // Count the total number of entries + count = 0; while ( (entry = hb_readdir( dir ) ) ) { count++; |