diff options
Diffstat (limited to 'source/blender/avi/intern/options.c')
-rw-r--r-- | source/blender/avi/intern/options.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/avi/intern/options.c b/source/blender/avi/intern/options.c index 15ec40ade8c..fdfdfab9722 100644 --- a/source/blender/avi/intern/options.c +++ b/source/blender/avi/intern/options.c @@ -1,11 +1,9 @@ -/** - * options.h +/* + * $Id$ * * This is external code. Sets some compression related options * (width, height quality, framerate). * - * $Id$ - * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or @@ -30,7 +28,8 @@ * Contributor(s): none yet. * * ***** END GPL LICENSE BLOCK ***** - * */ + * + */ #include "AVI_avi.h" #include "avi_intern.h" @@ -41,6 +40,8 @@ AviError AVI_set_compress_option (AviMovie *movie, int option_type, int stream, AviOption option, void *opt_data) { int i; + (void)stream; /* unused */ + if (movie->header->TotalFrames != 0) /* Can't change params after we have already started writing frames */ return AVI_ERROR_OPTION; |