Commit 7ca437f9 authored by michael's avatar michael

Fix doxy and assert().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22040 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 78b3749c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment