On 2/26/12 6:54 PM, Felipe Contreras wrote:
Will be needed by tidsp.

Signed-off-by: Felipe Contreras<[email protected]>
---
  libavcodec/avcodec.h |    3 +++
  libavcodec/utils.c   |    7 +++++++
  2 files changed, 10 insertions(+)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index d1df5b4..6e7fde0 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2936,6 +2936,9 @@ typedef struct AVHWAccel {
       * AVCodecContext.release_buffer().
       */
      int priv_data_size;
+
+    int (*init)(AVCodecContext *avctx);
+    int (*close)(AVCodecContext *avctx);

not sure if avctx is enough, possibly we might have an init(AVCodecContext *avctx, void *priv)

I'm glad you are pushing for improvements over hwaccel.

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to