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
435c2a31
Commit
435c2a31
authored
Feb 23, 2013
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_READ_PACKET cruft
parent
c7e044c6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
29 deletions
+0
-29
avformat.h
libavformat/avformat.h
+0
-18
utils.c
libavformat/utils.c
+0
-8
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
435c2a31
...
@@ -1287,24 +1287,6 @@ int av_find_best_stream(AVFormatContext *ic,
...
@@ -1287,24 +1287,6 @@ int av_find_best_stream(AVFormatContext *ic,
AVCodec
**
decoder_ret
,
AVCodec
**
decoder_ret
,
int
flags
);
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.
* Return the next frame of a stream.
* This function returns what is stored in the file, and does not validate
* This function returns what is stored in the file, and does not validate
...
...
libavformat/utils.c
View file @
435c2a31
...
@@ -676,14 +676,6 @@ int ff_read_packet(AVFormatContext *s, AVPacket *pkt)
...
@@ -676,14 +676,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 @
435c2a31
...
@@ -49,9 +49,6 @@
...
@@ -49,9 +49,6 @@
* the public API and may change, break or disappear at any time.
* the public API and may change, break or disappear at any time.
*/
*/
#ifndef FF_API_READ_PACKET
#define FF_API_READ_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
#endif
#ifndef FF_API_INTERLEAVE_PACKET
#ifndef FF_API_INTERLEAVE_PACKET
#define FF_API_INTERLEAVE_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
#define FF_API_INTERLEAVE_PACKET (LIBAVFORMAT_VERSION_MAJOR < 55)
#endif
#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