summaryrefslogtreecommitdiffstats
path: root/libavformat/dhav.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-08-28 15:44:36 +0200
committerPaul B Mahol <onemda@gmail.com>2019-08-28 15:44:36 +0200
commitd8410e9cf9dbc36d123113b442d5cda00d04dffb (patch)
treeab75381b6ead5aed4ea31ed2a20816920819e221 /libavformat/dhav.c
parent1232e67b16dd67625f130850a99a4e66d44b5888 (diff)
downloadffmpeg-streaming-d8410e9cf9dbc36d123113b442d5cda00d04dffb.zip
ffmpeg-streaming-d8410e9cf9dbc36d123113b442d5cda00d04dffb.tar.gz
avformat/dhav: always initializer ret
Diffstat (limited to 'libavformat/dhav.c')
-rw-r--r--libavformat/dhav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dhav.c b/libavformat/dhav.c
index dac11df..6a67f98 100644
--- a/libavformat/dhav.c
+++ b/libavformat/dhav.c
@@ -146,7 +146,7 @@ static const uint32_t sample_rates[] = {
static int parse_ext(AVFormatContext *s, int length)
{
DHAVContext *dhav = s->priv_data;
- int index, ret;
+ int index, ret = 0;
while (length > 0) {
int type = avio_r8(s->pb);
OpenPOWER on IntegriCloud