aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-02-23 16:00:22 +0100
committerNicolas George <nicolas.george@normalesup.org>2012-02-23 16:00:22 +0100
commitb6ff81d63b7b2940b39d8be2216a1c0f5cb353a8 (patch)
tree86c7437b0611bb1e89a7823a08c76e53e8febc03
parent42655b24c2eab7e06fc56c59c21a50abe2aaf019 (diff)
downloadffmpeg-b6ff81d63b7b2940b39d8be2216a1c0f5cb353a8.tar.gz
sbgdec: read_seek was undeprecated.
-rw-r--r--libavformat/sbgdec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index 8b569c88b2..07319309c1 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -1473,13 +1473,11 @@ static int sbg_read_seek2(AVFormatContext *avf, int stream_index,
return 0;
}
-#if FF_API_READ_SEEK
static int sbg_read_seek(AVFormatContext *avf, int stream_index,
int64_t ts, int flags)
{
return sbg_read_seek2(avf, stream_index, ts, ts, ts, 0);
}
-#endif
static const AVOption sbg_options[] = {
{ "sample_rate", "", offsetof(struct sbg_demuxer, sample_rate),
@@ -1508,9 +1506,7 @@ AVInputFormat ff_sbg_demuxer = {
.read_probe = sbg_read_probe,
.read_header = sbg_read_header,
.read_packet = sbg_read_packet,
-#if FF_API_READ_SEEK
.read_seek = sbg_read_seek,
-#endif
.read_seek2 = sbg_read_seek2,
.extensions = "sbg",
.priv_class = &sbg_demuxer_class,