[FFmpeg-cvslog] r9087 - trunk/libavformat/movenc.c
bcoudurier
subversion
Mon May 21 10:33:36 CEST 2007
Author: bcoudurier
Date: Mon May 21 10:33:36 2007
New Revision: 9087
Log:
print and return error if output is non seekable
Modified:
trunk/libavformat/movenc.c
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c (original)
+++ trunk/libavformat/movenc.c Mon May 21 10:33:36 2007
@@ -1445,6 +1445,11 @@ static int mov_write_header(AVFormatCont
MOVContext *mov = s->priv_data;
int i;
+ if (url_is_streamed(&s->pb)) {
+ av_log(s, AV_LOG_ERROR, "muxer does not support non seekable output\n");
+ return -1;
+ }
+
/* Default mode == MP4 */
mov->mode = MODE_MP4;
More information about the ffmpeg-cvslog
mailing list