summaryrefslogtreecommitdiffstats
path: root/libhb/work.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-05-02 13:37:48 +0000
committerjstebbins <[email protected]>2012-05-02 13:37:48 +0000
commit80cc015bc52a754be547b95858d12dc664615fc9 (patch)
tree21e75e2db166ff5f4b34e6caf96cfebe6bd0906f /libhb/work.c
parente980894393c68dd3c0da293fee14c8b9753f379b (diff)
libhb: fix problem with filter initialization
Under certain circumstances, a filter could get skipped during initialization git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4628 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r--libhb/work.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/work.c b/libhb/work.c
index 8a7e0ab24..f237a0a9b 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -525,6 +525,7 @@ void hb_filter_init_next( hb_list_t * list, int *score, int *ret_pos )
{
pos = 0;
(*score)++;
+ ii = 0;
}
hb_filter_object_t * filter = hb_list_item( list, pos );
if ( filter->init_index == *score )