Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
e88b67de
Commit
e88b67de
authored
16 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
Removing dead code, fixes CID4 RUN2.
Originally committed as revision 13507 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
408f43cb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/psxstr.c
+1
-5
1 addition, 5 deletions
libavformat/psxstr.c
with
1 addition
and
5 deletions
libavformat/psxstr.c
+
1
−
5
View file @
e88b67de
...
@@ -253,11 +253,9 @@ static int str_read_packet(AVFormatContext *s,
...
@@ -253,11 +253,9 @@ static int str_read_packet(AVFormatContext *s,
StrDemuxContext
*
str
=
s
->
priv_data
;
StrDemuxContext
*
str
=
s
->
priv_data
;
unsigned
char
sector
[
RAW_CD_SECTOR_SIZE
];
unsigned
char
sector
[
RAW_CD_SECTOR_SIZE
];
int
channel
;
int
channel
;
int
packet_read
=
0
;
int
ret
=
0
;
AVPacket
*
pkt
;
AVPacket
*
pkt
;
while
(
!
packet_read
)
{
while
(
1
)
{
if
(
get_buffer
(
pb
,
sector
,
RAW_CD_SECTOR_SIZE
)
!=
RAW_CD_SECTOR_SIZE
)
if
(
get_buffer
(
pb
,
sector
,
RAW_CD_SECTOR_SIZE
)
!=
RAW_CD_SECTOR_SIZE
)
return
AVERROR
(
EIO
);
return
AVERROR
(
EIO
);
...
@@ -340,8 +338,6 @@ printf (" dropping other sector\n");
...
@@ -340,8 +338,6 @@ printf (" dropping other sector\n");
if
(
url_feof
(
pb
))
if
(
url_feof
(
pb
))
return
AVERROR
(
EIO
);
return
AVERROR
(
EIO
);
}
}
return
ret
;
}
}
static
int
str_read_close
(
AVFormatContext
*
s
)
static
int
str_read_close
(
AVFormatContext
*
s
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment