Skip to content
Snippets Groups Projects
avcodec.h 28.3 KiB
Newer Older
  • Learn to ignore specific revisions
  •  *                user is supposed to know nothing about its structure
     * \param cmd     type of operation to be performed
     * \param pint    input parameter
     * \param pout    output parameter
     *
     * \returns  command status - eventually for query command it might return
     * integer resulting value
     */
    int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout);
    
    
    /* memory */
    void *av_malloc(int size);
    void *av_mallocz(int size);
    void av_free(void *ptr);
    void __av_freep(void **ptr);
    #define av_freep(p) __av_freep((void **)(p))
    
    
    Fabrice Bellard's avatar
    Fabrice Bellard committed
    #endif /* AVCODEC_H */