Commit 964fc34b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Nuv: remove write-only variable

parent f1cead7f
...@@ -208,7 +208,6 @@ static int Open( vlc_object_t * p_this ) ...@@ -208,7 +208,6 @@ static int Open( vlc_object_t * p_this )
demux_sys_t *p_sys; demux_sys_t *p_sys;
const uint8_t *p_peek; const uint8_t *p_peek;
frame_header_t fh; frame_header_t fh;
bool b_extended;
/* Check id */ /* Check id */
if( stream_Peek( p_demux->s, &p_peek, 12 ) != 12 || if( stream_Peek( p_demux->s, &p_peek, 12 ) != 12 ||
...@@ -270,8 +269,6 @@ static int Open( vlc_object_t * p_this ) ...@@ -270,8 +269,6 @@ static int Open( vlc_object_t * p_this )
goto error; goto error;
if( p_peek[0] == 'X' ) if( p_peek[0] == 'X' )
{ {
b_extended = true;
if( FrameHeaderLoad( p_demux, &fh ) ) if( FrameHeaderLoad( p_demux, &fh ) )
goto error; goto error;
if( fh.i_length != 512 ) if( fh.i_length != 512 )
...@@ -290,11 +287,9 @@ static int Open( vlc_object_t * p_this ) ...@@ -290,11 +287,9 @@ static int Open( vlc_object_t * p_this )
} }
else else
{ {
b_extended = false;
/* XXX: for now only file with extended chunk are supported /* XXX: for now only file with extended chunk are supported
* why: because else we need to have support for rtjpeg+stupid nuv shit */ * 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; goto error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment