From 5e712218d8eb3f71a06356ed6f952b86ca947fca Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 22 Sep 2013 17:19:38 +0000 Subject: libhb: make libhb internal character code utf8 This makes libhb expect all strings passed to it to be in utf8 format. The cli converts the converts from the current code page to utf8. libhb converts back to the current code page when necessary for libraries that expect it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5798 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/enctheora.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb/enctheora.c') diff --git a/libhb/enctheora.c b/libhb/enctheora.c index 36fd9e98a..d398f7717 100644 --- a/libhb/enctheora.c +++ b/libhb/enctheora.c @@ -51,11 +51,11 @@ int enctheoraInit( hb_work_object_t * w, hb_job_t * job ) hb_get_tempory_filename( job->h, filename, "theroa.log" ); if ( job->pass == 1 ) { - pv->file = fopen( filename, "wb" ); + pv->file = hb_fopen(filename, "wb"); } else { - pv->file = fopen( filename, "rb" ); + pv->file = hb_fopen(filename, "rb"); } } -- cgit v1.2.3