]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mp3dec.c
avformat/mov: print the projection type when reporting it as unsupported
[ffmpeg] / libavformat / mp3dec.c
index a5c4f2ea1272053080b5ea6ea6386a214074a66d..a76fe32e5998a776754632ba44ac952646b237f1 100644 (file)
@@ -508,9 +508,9 @@ static int64_t mp3_sync(AVFormatContext *s, int64_t target_pos, int flags)
                     return AVERROR(EINVAL);
                 }
             }
-            if ((target_pos - pos)*dir <= 0 && abs(MIN_VALID/2-j) < score) {
+            if ((target_pos - pos)*dir <= 0 && FFABS(MIN_VALID/2-j) < score) {
                 candidate = pos;
-                score = abs(MIN_VALID/2-j);
+                score = FFABS(MIN_VALID/2-j);
             }
             pos += ret;
         }