[FFmpeg-cvslog] r22040 - trunk/libavcodec/rectangle.h
michael
subversion
Wed Feb 24 23:05:51 CET 2010
Author: michael
Date: Wed Feb 24 23:05:51 2010
New Revision: 22040
Log:
Fix doxy and assert().
Modified:
trunk/libavcodec/rectangle.h
Modified: trunk/libavcodec/rectangle.h
==============================================================================
--- trunk/libavcodec/rectangle.h Wed Feb 24 22:55:55 2010 (r22039)
+++ trunk/libavcodec/rectangle.h Wed Feb 24 23:05:51 2010 (r22040)
@@ -37,11 +37,11 @@
* fill a rectangle.
* @param h height of the rectangle, should be a constant
* @param w width of the rectangle, should be a constant
- * @param size the size of val (1 or 4), should be a constant
+ * @param size the size of val (1, 2 or 4), should be a constant
*/
static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride, uint32_t val, int size){
uint8_t *p= (uint8_t*)vp;
- assert(size==1 || size==4);
+ assert(size==1 || size==2 || size==4);
assert(w<=4);
w *= size;
More information about the ffmpeg-cvslog
mailing list