ffmpeg | branch: master | Paul B Mahol <[email protected]> | Wed Aug 28 15:44:36 
2019 +0200| [d8410e9cf9dbc36d123113b442d5cda00d04dffb] | committer: Paul B Mahol

avformat/dhav: always initializer ret

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d8410e9cf9dbc36d123113b442d5cda00d04dffb
---

 libavformat/dhav.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/dhav.c b/libavformat/dhav.c
index dac11df6c4..6a67f981c7 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);

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to