[vlc-devel] commit: libvlc_video: More line saving on error cases (Pierre d'Herbemont )
git version control
git at videolan.org
Fri Jun 13 15:19:48 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Fri Jun 13 15:20:11 2008 +0200| [bcecd6e072477ec9f88e65f2a34ce579ab2f6a77]
libvlc_video: More line saving on error cases
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bcecd6e072477ec9f88e65f2a34ce579ab2f6a77
---
src/control/video.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/control/video.c b/src/control/video.c
index af01ebf..f0ff7e0 100644
--- a/src/control/video.c
+++ b/src/control/video.c
@@ -78,8 +78,7 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi,
int i_ret;
/* GetVout will raise the exception for us */
- if( !p_vout )
- return 0;
+ if( !p_vout ) return 0;
i_ret = var_GetBool( p_vout, "fullscreen" );
@@ -112,10 +111,7 @@ libvlc_video_take_snapshot( libvlc_media_player_t *p_mi, char *psz_filepath,
input_thread_t *p_input_thread;
/* GetVout will raise the exception for us */
- if( !p_vout )
- {
- return;
- }
+ if( !p_vout ) return;
if( !psz_filepath )
{
More information about the vlc-devel
mailing list