Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
9f975d14
Commit
9f975d14
authored
Feb 18, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpeg_audio.c: removed some fprintf...
parent
cfa53f69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
modules/codec/mpeg_audio.c
modules/codec/mpeg_audio.c
+1
-5
No files found.
modules/codec/mpeg_audio.c
View file @
9f975d14
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* mpeg_audio.c: parse MPEG audio sync info and packetize the stream
* mpeg_audio.c: parse MPEG audio sync info and packetize the stream
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id: mpeg_audio.c,v 1.1
1 2003/02/18 00:51:40
fenrir Exp $
* $Id: mpeg_audio.c,v 1.1
2 2003/02/18 18:49:11
fenrir Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
* Eric Petit <titer@videolan.org>
...
@@ -203,7 +203,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
...
@@ -203,7 +203,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
if
(
p_dec
->
p_fifo
->
b_die
||
p_dec
->
p_fifo
->
b_error
)
break
;
if
(
p_dec
->
p_fifo
->
b_die
||
p_dec
->
p_fifo
->
b_error
)
break
;
/* Set the Presentation Time Stamp */
/* Set the Presentation Time Stamp */
fprintf
(
stderr
,
"mpgadec pts:%lld
\n
"
,
pts
);
if
(
pts
!=
0
&&
pts
!=
aout_DateGet
(
&
end_date
)
)
if
(
pts
!=
0
&&
pts
!=
aout_DateGet
(
&
end_date
)
)
{
{
aout_DateSet
(
&
end_date
,
pts
);
aout_DateSet
(
&
end_date
,
pts
);
...
@@ -289,7 +288,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
...
@@ -289,7 +288,6 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
byte_t
p_junk
[
MAX_FRAME_SIZE
];
byte_t
p_junk
[
MAX_FRAME_SIZE
];
int
i_skip
=
i_current_frame_size
-
MAD_BUFFER_GUARD
;
int
i_skip
=
i_current_frame_size
-
MAD_BUFFER_GUARD
;
fprintf
(
stderr
,
"waiting pts
\n
"
);
/* We've just started the stream, wait for the first PTS. */
/* We've just started the stream, wait for the first PTS. */
while
(
i_skip
>
0
)
while
(
i_skip
>
0
)
{
{
...
@@ -392,9 +390,7 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
...
@@ -392,9 +390,7 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
p_buffer
->
i_nb_bytes
=
i_current_frame_size
+
MAD_BUFFER_GUARD
;
p_buffer
->
i_nb_bytes
=
i_current_frame_size
+
MAD_BUFFER_GUARD
;
/* Send the buffer to the aout core. */
/* Send the buffer to the aout core. */
fprintf
(
stderr
,
"sending.."
);
aout_DecPlay
(
p_dec
->
p_aout
,
p_dec
->
p_aout_input
,
p_buffer
);
aout_DecPlay
(
p_dec
->
p_aout
,
p_dec
->
p_aout_input
,
p_buffer
);
fprintf
(
stderr
,
"..done
\n
"
);
}
}
if
(
p_dec
->
p_fifo
->
b_error
)
if
(
p_dec
->
p_fifo
->
b_error
)
...
...
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