diff --git a/include/video_output.h b/include/video_output.h index ac776338a76fc4e210603f8809095d164c93040f..b787d81667af9dd61f78d8f3a93a72f28cd19de0 100644 --- a/include/video_output.h +++ b/include/video_output.h @@ -245,7 +245,7 @@ VLC_EXPORT( void *, vout_RequestWindow, ( vout_thread_t *, int *, int *, unsigne VLC_EXPORT( void, vout_ReleaseWindow, ( vout_thread_t *, void * ) ); VLC_EXPORT( int, vout_ControlWindow, ( vout_thread_t *, void *, int, va_list ) ); void vout_IntfInit( vout_thread_t * ); - +VLC_EXPORT( int, vout_Snapshot, ( vout_thread_t *p_vout, picture_t *p_pic ) ); VLC_EXPORT( void, vout_EnableFilter, ( vout_thread_t *, char *,vlc_bool_t , vlc_bool_t ) ); diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c index 4d72c8aadae954ffc712731f6b90f009b33b2391..be51dabddc02300be65be3eece6d40739eb33e73 100644 --- a/src/video_output/vout_intf.c +++ b/src/video_output/vout_intf.c @@ -590,7 +590,7 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic ) CSIDL_MYPICTURES | CSIDL_FLAG_CREATE, NULL, SHGFP_TYPE_CURRENT, wdir))) - p_mypictureswdir = FromWide (wdir); + p_mypicturesdir = FromWide (wdir); FreeLibrary( shfolder_dll ); }