Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- index 60aab8cabd..cae174cf1b 100644
- --- a/libavformat/dhav.c
- +++ b/libavformat/dhav.c
- @@ -78,7 +78,8 @@ static const uint32_t sample_rates[] = {
- static int parse_ext(AVFormatContext *s, int length)
- {
- DHAVContext *dhav = s->priv_data;
- - int index, ret = 0;
- + int64_t ret = 0;
- + int index = 0;
- while (length > 0) {
- int type = avio_r8(s->pb);
- @@ -168,8 +169,7 @@ static int read_chunk(AVFormatContext *s)
- {
- DHAVContext *dhav = s->priv_data;
- int frame_length, ext_length;
- - int64_t start, end;
- - int ret;
- + int64_t start, end, ret;
- if (avio_feof(s->pb))
- return AVERROR_EOF;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement