cleanup
This commit is contained in:
		@ -50,12 +50,19 @@ class AVCodecParameters(ctypes.Structure):
 | 
			
		||||
 | 
			
		||||
AVCodecParameters_p = ctypes.POINTER(AVCodecParameters)
 | 
			
		||||
 | 
			
		||||
class AVRational(ctypes.Structure):
 | 
			
		||||
    _fields_ = [
 | 
			
		||||
        ("num", ctypes.c_int),
 | 
			
		||||
        ("den", ctypes.c_int)]
 | 
			
		||||
 | 
			
		||||
class AVStream(ctypes.Structure):
 | 
			
		||||
    _fields_ = [
 | 
			
		||||
        ("av_class", ctypes.c_void_p),
 | 
			
		||||
        ("index", ctypes.c_int),
 | 
			
		||||
        ("id", ctypes.c_int),
 | 
			
		||||
        ("codecpar", AVCodecParameters_p)]
 | 
			
		||||
        ("codecpar", AVCodecParameters_p),
 | 
			
		||||
        ("priv_data", ctypes.c_void_p),
 | 
			
		||||
        ("time_base", AVRational)]
 | 
			
		||||
        # ...
 | 
			
		||||
 | 
			
		||||
AVStream_p = ctypes.POINTER(AVStream)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user