summaryrefslogtreecommitdiff
path: root/libavformat/rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r--libavformat/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c
index de16a3033c..59888e2cdf 100644
--- a/libavformat/rm.c
+++ b/libavformat/rm.c
@@ -315,7 +315,7 @@ static int rm_write_header(AVFormatContext *s)
stream->total_frames = stream->nb_packets;
break;
default:
- av_abort();
+ return -1;
}
}