diff options
author | jstebbins <[email protected]> | 2009-03-27 23:18:53 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-03-27 23:18:53 +0000 |
commit | 9da98dda5e445c2559d1cccf0943e067ac149155 (patch) | |
tree | 7673bf010a86630e74a87f8313ed7aff0ffb00e4 /libhb/scan.c | |
parent | 0c55aef231694c7208098514b989f63593fcbb5f (diff) |
Remove unneeded preview files at the beginning of a scan.
This prevents accumulation of potentially thousands of files during a session
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2282 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/scan.c')
-rw-r--r-- | libhb/scan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/scan.c b/libhb/scan.c index aa91838f3..2088883ab 100644 --- a/libhb/scan.c +++ b/libhb/scan.c @@ -593,7 +593,7 @@ static int DecodePreviews( hb_scan_t * data, hb_title_t * title ) if( data->store_previews ) { - hb_get_tempory_filename( data->h, filename, "%x%d", + hb_get_tempory_filename( data->h, filename, "%" PRIxPTR "%d", (intptr_t)title, i ); file_preview = fopen( filename, "w" ); |