summaryrefslogtreecommitdiff
path: root/libavformat/avienc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r--libavformat/avienc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 1ac9a408dc..4d2981780c 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -422,7 +422,7 @@ static int avi_write_header(AVFormatContext *s)
put_le32(pb, 0);
break;
default:
- av_abort();
+ return -1;
}
end_tag(pb, strh);
@@ -438,7 +438,7 @@ static int avi_write_header(AVFormatContext *s)
}
break;
default:
- av_abort();
+ return -1;
}
end_tag(pb, strf);