[vlc-commits] Nuv: remove write-only variable
Jean-Baptiste Kempf
git at videolan.org
Sun Mar 27 13:03:17 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 27 12:56:54 2011 +0200| [964fc34b696e3dad071a1c9673dbffa3d8410bc4] | committer: Jean-Baptiste Kempf
Nuv: remove write-only variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=964fc34b696e3dad071a1c9673dbffa3d8410bc4
---
modules/demux/nuv.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/modules/demux/nuv.c b/modules/demux/nuv.c
index 40b5aa0..853544d 100644
--- a/modules/demux/nuv.c
+++ b/modules/demux/nuv.c
@@ -208,7 +208,6 @@ static int Open( vlc_object_t * p_this )
demux_sys_t *p_sys;
const uint8_t *p_peek;
frame_header_t fh;
- bool b_extended;
/* Check id */
if( stream_Peek( p_demux->s, &p_peek, 12 ) != 12 ||
@@ -270,8 +269,6 @@ static int Open( vlc_object_t * p_this )
goto error;
if( p_peek[0] == 'X' )
{
- b_extended = true;
-
if( FrameHeaderLoad( p_demux, &fh ) )
goto error;
if( fh.i_length != 512 )
@@ -290,11 +287,9 @@ static int Open( vlc_object_t * p_this )
}
else
{
- b_extended = false;
-
/* XXX: for now only file with extended chunk are supported
* why: because else we need to have support for rtjpeg+stupid nuv shit */
- msg_Err( p_demux, "incomplete NUV support (upload samples)" );
+ msg_Err( p_demux, "VLC doesn't support NUV without extended chunks (please upload samples)" );
goto error;
}
More information about the vlc-commits
mailing list