|
|
@ -71,7 +71,10 @@ typedef struct SchroParseUnitContext { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void libschroedinger_decode_buffer_free(SchroBuffer *schro_buf, |
|
|
|
static void libschroedinger_decode_buffer_free(SchroBuffer *schro_buf, |
|
|
|
void *priv); |
|
|
|
void *priv) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
av_freep(&priv); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static void SchroParseContextInit(SchroParseUnitContext *parse_ctx, |
|
|
|
static void SchroParseContextInit(SchroParseUnitContext *parse_ctx, |
|
|
|
const uint8_t *buf, int buf_size) |
|
|
|
const uint8_t *buf, int buf_size) |
|
|
@ -156,12 +159,6 @@ static av_cold int libschroedinger_decode_init(AVCodecContext *avccontext) |
|
|
|
return 0; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static void libschroedinger_decode_buffer_free(SchroBuffer *schro_buf, |
|
|
|
|
|
|
|
void *priv) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
av_freep(&priv); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static void libschroedinger_decode_frame_free(void *frame) |
|
|
|
static void libschroedinger_decode_frame_free(void *frame) |
|
|
|
{ |
|
|
|
{ |
|
|
|
schro_frame_unref(frame); |
|
|
|
schro_frame_unref(frame); |
|
|
|