summaryrefslogtreecommitdiff
path: root/src/libffmpeg
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg')
-rw-r--r--src/libffmpeg/libavcodec/common.c2
-rw-r--r--src/libffmpeg/libavcodec/imgresample.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libffmpeg/libavcodec/common.c b/src/libffmpeg/libavcodec/common.c
index 96d8a303a..f7fe2e1d1 100644
--- a/src/libffmpeg/libavcodec/common.c
+++ b/src/libffmpeg/libavcodec/common.c
@@ -349,7 +349,7 @@ static int build_table(VLC *vlc, int table_nb_bits,
#endif
if (table_bits[j] != 0) {
fprintf(stderr, "incorrect codes\n");
- exit(1);
+ abort();
}
table_bits[j] = n;
table_codes[j] = i;
diff --git a/src/libffmpeg/libavcodec/imgresample.c b/src/libffmpeg/libavcodec/imgresample.c
index 8c69de2de..fda5a31c4 100644
--- a/src/libffmpeg/libavcodec/imgresample.c
+++ b/src/libffmpeg/libavcodec/imgresample.c
@@ -609,7 +609,7 @@ int main(int argc, char **argv)
img, XSIZE, XSIZE, YSIZE);
if (memcmp(img1, img2, xsize * ysize) != 0) {
fprintf(stderr, "mmx error\n");
- exit(1);
+ abort();
}
printf("MMX OK\n");
#endif