Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
5763e639
Commit
5763e639
authored
Feb 03, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: remove FF_API_SYMVER cruft
parent
b4c5acab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
35 deletions
+0
-35
libavformat/utils.c
libavformat/utils.c
+0
-32
libavformat/version.h
libavformat/version.h
+0
-3
No files found.
libavformat/utils.c
View file @
5763e639
...
...
@@ -260,38 +260,6 @@ AVInputFormat *av_find_input_format(const char *short_name)
return
NULL
;
}
#if FF_API_SYMVER && CONFIG_SHARED && HAVE_SYMVER
FF_SYMVER
(
void
,
av_destruct_packet_nofree
,
(
AVPacket
*
pkt
),
"LIBAVFORMAT_52"
)
{
av_destruct_packet_nofree
(
pkt
);
}
FF_SYMVER
(
void
,
av_destruct_packet
,
(
AVPacket
*
pkt
),
"LIBAVFORMAT_52"
)
{
av_destruct_packet
(
pkt
);
}
FF_SYMVER
(
int
,
av_new_packet
,
(
AVPacket
*
pkt
,
int
size
),
"LIBAVFORMAT_52"
)
{
return
av_new_packet
(
pkt
,
size
);
}
FF_SYMVER
(
int
,
av_dup_packet
,
(
AVPacket
*
pkt
),
"LIBAVFORMAT_52"
)
{
return
av_dup_packet
(
pkt
);
}
FF_SYMVER
(
void
,
av_free_packet
,
(
AVPacket
*
pkt
),
"LIBAVFORMAT_52"
)
{
av_free_packet
(
pkt
);
}
FF_SYMVER
(
void
,
av_init_packet
,
(
AVPacket
*
pkt
),
"LIBAVFORMAT_52"
)
{
av_log
(
NULL
,
AV_LOG_WARNING
,
"Diverting av_*_packet function calls to libavcodec. Recompile to improve performance
\n
"
);
av_init_packet
(
pkt
);
}
#endif
int
av_get_packet
(
AVIOContext
*
s
,
AVPacket
*
pkt
,
int
size
)
{
...
...
libavformat/version.h
View file @
5763e639
...
...
@@ -50,9 +50,6 @@
#ifndef FF_API_READ_SEEK
#define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_SYMVER
#define FF_API_SYMVER (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_OLD_AVIO
#define FF_API_OLD_AVIO (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