[FFmpeg-cvslog] libschroedinger: Move a function to avoid a forward declaration.
Diego Biurrun
git at videolan.org
Mon May 7 23:06:26 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Apr 14 15:40:58 2012 +0200| [1f4f752117c0519345a1b0a725a57440cc8924ec] | committer: Diego Biurrun
libschroedinger: Move a function to avoid a forward declaration.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1f4f752117c0519345a1b0a725a57440cc8924ec
---
libavcodec/libschroedingerdec.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c
index 68d9a25..1e632de 100644
--- a/libavcodec/libschroedingerdec.c
+++ b/libavcodec/libschroedingerdec.c
@@ -71,7 +71,10 @@ typedef struct SchroParseUnitContext {
static void libschroedinger_decode_buffer_free(SchroBuffer *schro_buf,
- void *priv);
+ void *priv)
+{
+ av_freep(&priv);
+}
static void SchroParseContextInit(SchroParseUnitContext *parse_ctx,
const uint8_t *buf, int buf_size)
@@ -156,12 +159,6 @@ static av_cold int libschroedinger_decode_init(AVCodecContext *avccontext)
return 0;
}
-static void libschroedinger_decode_buffer_free(SchroBuffer *schro_buf,
- void *priv)
-{
- av_freep(&priv);
-}
-
static void libschroedinger_decode_frame_free(void *frame)
{
schro_frame_unref(frame);
More information about the ffmpeg-cvslog
mailing list