code cleanup:

- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
This commit is contained in:
2013-03-25 02:41:30 +00:00
parent 153eea5f23
commit e1a54214bb
34 changed files with 100 additions and 89 deletions

View File

@@ -81,8 +81,10 @@ static PyObject *make_ffmpeg_info(void)
#define SetIntItem(flag) \
PyStructSequence_SET_ITEM(ffmpeg_info, pos++, PyLong_FromLong(flag))
#endif
#ifndef WITH_FFMPEG
#define SetStrItem(str) \
PyStructSequence_SET_ITEM(ffmpeg_info, pos++, PyUnicode_FromString(str))
#endif
#define SetObjItem(obj) \
PyStructSequence_SET_ITEM(ffmpeg_info, pos++, obj)