]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mediacodec_surface.h
avformat: Remove deprecated av_demuxer_open()
[ffmpeg] / libavcodec / mediacodec_surface.h
index 0178b8ae7172ec545443386332b08fb001dc381d..933dc2bf51a123a848d3b750b85b4c7a1172702a 100644 (file)
 
 #include "libavcodec/avcodec.h"
 
-void *ff_mediacodec_surface_ref(void *surface, void *log_ctx);
-int ff_mediacodec_surface_unref(void *surface, void *log_ctx);
+struct FFANativeWindow;
+typedef struct FFANativeWindow FFANativeWindow;
+
+FFANativeWindow *ff_mediacodec_surface_ref(void *surface, void *log_ctx);
+int ff_mediacodec_surface_unref(FFANativeWindow *window, void *log_ctx);
 
 #endif /* AVCODEC_MEDIACODEC_SURFACE_H */