mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
avformat/lrcdec: Fix declaration-after-statement warning
Happens since c0f867bf50
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
37d3000e3e
commit
bf9f6a5e55
@ -170,10 +170,11 @@ static int lrc_read_header(AVFormatContext *s)
|
||||
av_bprint_init(&line, 0, AV_BPRINT_SIZE_UNLIMITED);
|
||||
|
||||
while(!avio_feof(s->pb)) {
|
||||
int64_t pos = read_line(&line, s->pb);
|
||||
int64_t header_offset, pos = read_line(&line, s->pb);
|
||||
|
||||
if (!av_bprint_is_complete(&line))
|
||||
goto err_nomem_out;
|
||||
int64_t header_offset = find_header(line.str);
|
||||
header_offset = find_header(line.str);
|
||||
if(header_offset >= 0) {
|
||||
char *comma_offset = strchr(line.str, ':');
|
||||
if(comma_offset) {
|
||||
|
Loading…
Reference in New Issue
Block a user