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
ddc37681
Commit
ddc37681
authored
Sep 15, 2014
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat: remove obsolete FF_API_READ_PACKET cruft
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
ecf457f3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
28 deletions
+0
-28
avformat.h
libavformat/avformat.h
+0
-18
utils.c
libavformat/utils.c
+0
-7
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
ddc37681
...
...
@@ -2052,24 +2052,6 @@ int av_find_best_stream(AVFormatContext *ic,
AVCodec
**
decoder_ret
,
int
flags
);
#if FF_API_READ_PACKET
/**
* @deprecated use AVFMT_FLAG_NOFILLIN | AVFMT_FLAG_NOPARSE to read raw
* unprocessed packets
*
* Read a transport packet from a media file.
*
* This function is obsolete and should never be used.
* Use av_read_frame() instead.
*
* @param s media file handle
* @param pkt is filled
* @return 0 if OK, AVERROR_xxx on error
*/
attribute_deprecated
int
av_read_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
);
#endif
/**
* Return the next frame of a stream.
* This function returns what is stored in the file, and does not validate
...
...
libavformat/utils.c
View file @
ddc37681
...
...
@@ -691,13 +691,6 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt)
}
}
#if FF_API_READ_PACKET
int
av_read_packet
(
AVFormatContext
*
s
,
AVPacket
*
pkt
)
{
return
ff_read_packet
(
s
,
pkt
);
}
#endif
/**********************************************************/
...
...
libavformat/version.h
View file @
ddc37681
...
...
@@ -61,9 +61,6 @@
#define FF_API_URL_FEOF (LIBAVFORMAT_VERSION_MAJOR < 57)
#endif
#ifndef FF_API_READ_PACKET
#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_R_FRAME_RATE
#define FF_API_R_FRAME_RATE 1
#endif
...
...
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