]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/flac_parser.c
avcodec/wmaprodec: Fix cleanup on error
[ffmpeg] / libavcodec / flac_parser.c
index 9280246af2a0193e5b2a8d41686e3003e98e32a2..9ffa288548e463ca4452f7174236bb5fa58b1739 100644 (file)
@@ -313,7 +313,7 @@ static int check_header_mismatch(FLACParseContext  *fpc,
         (child_fi->frame_or_sample_num
          != header_fi->frame_or_sample_num + 1)) {
         FLACHeaderMarker *curr;
-        int expected_frame_num, expected_sample_num;
+        int64_t expected_frame_num, expected_sample_num;
         /* If there are frames in the middle we expect this deduction,
            as they are probably valid and this one follows it */