diff options
author | jstebbins <[email protected]> | 2011-06-06 21:54:56 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-06-06 21:54:56 +0000 |
commit | 2e50209258e4fb103798e099945cb68ac71c97c2 (patch) | |
tree | f9270748941c234ee86db3b2cbcffceac6f4733e /libhb/work.c | |
parent | bad856916a1b7d00e6a118fed9f7941e4602c155 (diff) |
libhb: fix crash when x264 fails to initialize
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4025 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/work.c')
-rw-r--r-- | libhb/work.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/work.c b/libhb/work.c index eac0c0ad7..f1db58b81 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -1232,7 +1232,7 @@ cleanup: static void work_loop( void * _w ) { hb_work_object_t * w = _w; - hb_buffer_t * buf_in, * buf_out; + hb_buffer_t * buf_in = NULL, * buf_out = NULL; while( !*w->done && w->status != HB_WORK_DONE ) { |