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
765d8a39
Commit
765d8a39
authored
Sep 24, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: set pf_run *only* if we accept this stream.
parent
6ffd34f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
modules/packetizer/mpeg4audio.c
modules/packetizer/mpeg4audio.c
+6
-9
modules/packetizer/mpeg4video.c
modules/packetizer/mpeg4video.c
+2
-4
No files found.
modules/packetizer/mpeg4audio.c
View file @
765d8a39
...
...
@@ -2,7 +2,7 @@
* mpeg4audio.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpeg4audio.c,v 1.
7 2003/09/02 20:19:26 gbazin
Exp $
* $Id: mpeg4audio.c,v 1.
8 2003/09/24 14:59:21 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -102,16 +102,13 @@ static int Open( vlc_object_t *p_this )
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
p_dec
->
pf_run
=
Run
;
if
(
p_dec
->
p_fifo
->
i_fourcc
==
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'a'
)
)
if
(
p_dec
->
p_fifo
->
i_fourcc
!=
VLC_FOURCC
(
'm'
,
'p'
,
'4'
,
'a'
)
)
{
return
(
VLC_SUCCESS
);
}
else
{
return
(
VLC_EGENERIC
);
return
VLC_EGENERIC
;
}
p_dec
->
pf_run
=
Run
;
return
VLC_SUCCESS
;
}
/*****************************************************************************
...
...
modules/packetizer/mpeg4video.c
View file @
765d8a39
...
...
@@ -2,7 +2,7 @@
* mpeg4video.c
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: mpeg4video.c,v 1.1
3 2003/09/02 20:19:26 gbazin
Exp $
* $Id: mpeg4video.c,v 1.1
4 2003/09/24 14:59:21 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -106,8 +106,6 @@ static int Open( vlc_object_t *p_this )
{
decoder_t
*
p_dec
=
(
decoder_t
*
)
p_this
;
p_dec
->
pf_run
=
Run
;
switch
(
p_dec
->
p_fifo
->
i_fourcc
)
{
case
VLC_FOURCC
(
'm'
,
'4'
,
's'
,
'2'
):
...
...
@@ -123,7 +121,7 @@ static int Open( vlc_object_t *p_this )
case
VLC_FOURCC
(
'D'
,
'X'
,
'5'
,
'0'
):
case
VLC_FOURCC
(
0x04
,
0
,
0
,
0
):
case
VLC_FOURCC
(
'3'
,
'I'
,
'V'
,
'2'
):
p_dec
->
pf_run
=
Run
;
return
VLC_SUCCESS
;
default:
return
VLC_EGENERIC
;
...
...
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