]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/internal.h
eamad: release the reference frame on video size changes
[ffmpeg] / libavcodec / internal.h
index 75d7f37716c62048ba69365e28487449973b1b72..68f49b5f1e84704d88f26091d9a5496558c2d377 100644 (file)
@@ -55,4 +55,9 @@ int ff_match_2uint16(const uint16_t (*tab)[2], int size, int a, int b);
 
 unsigned int ff_toupper4(unsigned int x);
 
+/**
+ * does needed setup of pkt_pts/pos and such for (re)get_buffer();
+ */
+void ff_init_buffer_info(AVCodecContext *s, AVFrame *pic);
+
 #endif /* AVCODEC_INTERNAL_H */