Skip to content
Snippets Groups Projects
Commit d8c772de authored by Diego Biurrun's avatar Diego Biurrun Committed by Luca Barbato
Browse files

nutdec: Always return a value from nut_read_timestamp()


The function is a callback that is called by ff_gen_search with
a constant stream index.

Avoid a false positive on older gcc version.

Signed-off-by: default avatarLuca Barbato <lu_zero@gentoo.org>
parent 99853cb8
No related branches found
No related tags found
No related merge requests found
......@@ -910,7 +910,7 @@ static int64_t nut_read_timestamp(AVFormatContext *s, int stream_index,
else if (stream_index == -2)
return back_ptr;
assert(0);
return AV_NOPTS_VALUE;
}
static int read_seek(AVFormatContext *s, int stream_index,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment