Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
21824e5b
Commit
21824e5b
authored
Jan 12, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove disabled FF_API_PKT_DUMP cruft
parent
cc10ab79
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
26 deletions
+0
-26
avformat.h
libavformat/avformat.h
+0
-7
utils.c
libavformat/utils.c
+0
-16
version.h
libavformat/version.h
+0
-3
No files found.
libavformat/avformat.h
View file @
21824e5b
...
...
@@ -1195,13 +1195,6 @@ AVProgram *av_new_program(AVFormatContext *s, int id);
attribute_deprecated
enum
CodecID
av_guess_image2_codec
(
const
char
*
filename
);
#endif
#if FF_API_PKT_DUMP
attribute_deprecated
void
av_pkt_dump
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
);
attribute_deprecated
void
av_pkt_dump_log
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
);
#endif
/**
* @addtogroup lavf_decoding
* @{
...
...
libavformat/utils.c
View file @
21824e5b
...
...
@@ -3493,27 +3493,11 @@ static void pkt_dump_internal(void *avcl, FILE *f, int level, AVPacket *pkt, int
av_hex_dump
(
f
,
pkt
->
data
,
pkt
->
size
);
}
#if FF_API_PKT_DUMP
void
av_pkt_dump
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
)
{
AVRational
tb
=
{
1
,
AV_TIME_BASE
};
pkt_dump_internal
(
NULL
,
f
,
0
,
pkt
,
dump_payload
,
tb
);
}
#endif
void
av_pkt_dump2
(
FILE
*
f
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
)
{
pkt_dump_internal
(
NULL
,
f
,
0
,
pkt
,
dump_payload
,
st
->
time_base
);
}
#if FF_API_PKT_DUMP
void
av_pkt_dump_log
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
)
{
AVRational
tb
=
{
1
,
AV_TIME_BASE
};
pkt_dump_internal
(
avcl
,
NULL
,
level
,
pkt
,
dump_payload
,
tb
);
}
#endif
void
av_pkt_dump_log2
(
void
*
avcl
,
int
level
,
AVPacket
*
pkt
,
int
dump_payload
,
AVStream
*
st
)
{
...
...
libavformat/version.h
View file @
21824e5b
...
...
@@ -47,9 +47,6 @@
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_PKT_DUMP
#define FF_API_PKT_DUMP (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_GUESS_IMG2_CODEC
#define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
#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