Commit cb53db14 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mp3dec: Rename sync() function to avoid build failure on android

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bf1fd59c
...@@ -437,7 +437,7 @@ static int check(AVIOContext *pb, int64_t pos) ...@@ -437,7 +437,7 @@ static int check(AVIOContext *pb, int64_t pos)
return sd.frame_size; return sd.frame_size;
} }
static int64_t sync(AVFormatContext *s, int64_t target_pos, int flags) static int64_t mp3_sync(AVFormatContext *s, int64_t target_pos, int flags)
{ {
int dir = (flags&AVSEEK_FLAG_BACKWARD) ? -1 : 1; int dir = (flags&AVSEEK_FLAG_BACKWARD) ? -1 : 1;
int64_t best_pos; int64_t best_pos;
...@@ -511,7 +511,7 @@ static int mp3_seek(AVFormatContext *s, int stream_index, int64_t timestamp, ...@@ -511,7 +511,7 @@ static int mp3_seek(AVFormatContext *s, int stream_index, int64_t timestamp,
return -1; return -1;
} }
best_pos = sync(s, ie->pos, flags); best_pos = mp3_sync(s, ie->pos, flags);
if (best_pos < 0) if (best_pos < 0)
return best_pos; return best_pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment