mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/dhav: always initializer ret
This commit is contained in:
parent
1232e67b16
commit
d8410e9cf9
|
@ -146,7 +146,7 @@ static const uint32_t sample_rates[] = {
|
||||||
static int parse_ext(AVFormatContext *s, int length)
|
static int parse_ext(AVFormatContext *s, int length)
|
||||||
{
|
{
|
||||||
DHAVContext *dhav = s->priv_data;
|
DHAVContext *dhav = s->priv_data;
|
||||||
int index, ret;
|
int index, ret = 0;
|
||||||
|
|
||||||
while (length > 0) {
|
while (length > 0) {
|
||||||
int type = avio_r8(s->pb);
|
int type = avio_r8(s->pb);
|
||||||
|
|
Loading…
Reference in New Issue