Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f5b386af
Commit
f5b386af
authored
Apr 06, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reemove remaining uses of deprecated AVERROR_NOTSUPP.
parent
56a10009
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
applehttpproto.c
libavformat/applehttpproto.c
+1
-1
assdec.c
libavformat/assdec.c
+1
-1
jvdec.c
libavformat/jvdec.c
+1
-1
rtpdec_qt.c
libavformat/rtpdec_qt.c
+3
-3
wtv.c
libavformat/wtv.c
+1
-1
No files found.
libavformat/applehttpproto.c
View file @
f5b386af
...
...
@@ -181,7 +181,7 @@ static int applehttp_open(URLContext *h, const char *uri, int flags)
const
char
*
nested_url
;
if
(
flags
&
(
URL_WRONLY
|
URL_RDWR
))
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
s
=
av_mallocz
(
sizeof
(
AppleHTTPContext
));
if
(
!
s
)
...
...
libavformat/assdec.c
View file @
f5b386af
...
...
@@ -168,7 +168,7 @@ static int read_seek2(AVFormatContext *s, int stream_index,
ASSContext
*
ass
=
s
->
priv_data
;
if
(
flags
&
AVSEEK_FLAG_BYTE
)
{
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
}
else
if
(
flags
&
AVSEEK_FLAG_FRAME
)
{
if
(
ts
<
0
||
ts
>=
ass
->
event_count
)
return
AVERROR
(
ERANGE
);
...
...
libavformat/jvdec.c
View file @
f5b386af
...
...
@@ -192,7 +192,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
int
i
;
if
(
flags
&
(
AVSEEK_FLAG_BYTE
|
AVSEEK_FLAG_FRAME
))
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
switch
(
stream_index
)
{
case
0
:
...
...
libavformat/rtpdec_qt.c
View file @
f5b386af
...
...
@@ -98,7 +98,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
if
(
!
is_start
||
!
is_finish
)
{
av_log_missing_feature
(
s
,
"RTP-X-QT with payload description "
"split over several packets"
,
1
);
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
}
skip_bits
(
&
gb
,
12
);
// reserved
data_len
=
get_bits
(
&
gb
,
16
);
...
...
@@ -161,7 +161,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
if
(
has_packet_info
)
{
av_log_missing_feature
(
s
,
"RTP-X-QT with packet specific info"
,
1
);
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
}
alen
=
len
-
avio_tell
(
&
pb
);
...
...
@@ -224,7 +224,7 @@ static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
default:
/* unimplemented */
av_log_missing_feature
(
NULL
,
"RTP-X-QT with packing scheme 2"
,
1
);
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
}
}
...
...
libavformat/wtv.c
View file @
f5b386af
...
...
@@ -1061,7 +1061,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
int
i
;
if
((
flags
&
AVSEEK_FLAG_FRAME
)
||
(
flags
&
AVSEEK_FLAG_BYTE
))
return
AVERROR
_NOTSUPP
;
return
AVERROR
(
ENOSYS
)
;
/* timestamp adjustment is required because wtv->pts values are absolute,
* whereas AVIndexEntry->timestamp values are relative to epoch. */
...
...
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