Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
f8c7410e
Commit
f8c7410e
authored
Feb 26, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Don't crash during my demo to the university computer labs.
- don't crash when i_output < 0
parent
24b3d069
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.c
+2
-2
No files found.
modules/codec/ffmpeg/audio.c
View file @
f8c7410e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* audio.c: audio decoder using ffmpeg library
* audio.c: audio decoder using ffmpeg library
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2003 VideoLAN
* Copyright (C) 1999-2003 VideoLAN
* $Id: audio.c,v 1.2
8 2004/02/25 17:48:52 fenrir
Exp $
* $Id: audio.c,v 1.2
9 2004/02/26 17:07:37 hartman
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com>
* Gildas Bazin <gbazin@netcourrier.com>
...
@@ -168,7 +168,7 @@ aout_buffer_t *E_( DecodeAudio )( decoder_t *p_dec, block_t **pp_block )
...
@@ -168,7 +168,7 @@ aout_buffer_t *E_( DecodeAudio )( decoder_t *p_dec, block_t **pp_block )
(
int16_t
*
)
p_sys
->
p_output
,
&
i_output
,
(
int16_t
*
)
p_sys
->
p_output
,
&
i_output
,
p_block
->
p_buffer
,
p_block
->
i_buffer
);
p_block
->
p_buffer
,
p_block
->
i_buffer
);
if
(
i_used
<
0
)
//|| i_output ==
0 )
if
(
i_used
<
0
||
i_output
<
0
)
{
{
if
(
i_used
<
0
)
if
(
i_used
<
0
)
msg_Warn
(
p_dec
,
"cannot decode one frame (%d bytes)"
,
msg_Warn
(
p_dec
,
"cannot decode one frame (%d bytes)"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment