Procs
proc av_thread_message_flush(mq: ptr AVThreadMessageQueue) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_alloc(mq: ptr ptr AVThreadMessageQueue; nelem, elsize: cuint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_free(mq: ptr ptr AVThreadMessageQueue) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_nb_elems(mq: ptr AVThreadMessageQueue): cint {. importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_recv(mq: ptr AVThreadMessageQueue; msg: pointer; flags: cuint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_send(mq: ptr AVThreadMessageQueue; msg: pointer; flags: cuint): cint {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_set_err_recv(mq: ptr AVThreadMessageQueue; err: cint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_set_err_send(mq: ptr AVThreadMessageQueue; err: cint) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}
proc av_thread_message_queue_set_free_func(mmq: ptr AVThreadMessageFlags; free_func: proc (msg: pointer)) {.importc, cdecl, ...raises: [], tags: [], forbids: [].}