diff avcodec.h @ 1214:327c5a36dfe7 libavcodec

fixing mixed dr1 + internal buffers
author michaelni
date Fri, 25 Apr 2003 00:29:48 +0000
parents fbbc429a6fc2
children 3fa9a3de913f
line wrap: on
line diff
--- a/avcodec.h	Fri Apr 25 00:21:53 2003 +0000
+++ b/avcodec.h	Fri Apr 25 00:29:48 2003 +0000
@@ -1089,6 +1089,17 @@
      */
     int color_table_id;
     
+    /**
+     * internal_buffer count. 
+     * Dont touch, used by lavc default_get_buffer()
+     */
+    int internal_buffer_count;
+    
+    /**
+     * internal_buffers. 
+     * Dont touch, used by lavc default_get_buffer()
+     */
+    void *internal_buffer;
 } AVCodecContext;
 
 
@@ -1320,6 +1331,7 @@
 
 int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic);
 void avcodec_default_release_buffer(AVCodecContext *s, AVFrame *pic);
+void avcodec_default_free_buffers(AVCodecContext *s);
 
 int avcodec_open(AVCodecContext *avctx, AVCodec *codec);
 int avcodec_decode_audio(AVCodecContext *avctx, int16_t *samples,