Commit bf9f6a5e authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/lrcdec: Fix declaration-after-statement warning

Happens since c0f867bf.
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 37d3000e
......@@ -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) {
......
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