X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Finternal.h;h=68f49b5f1e84704d88f26091d9a5496558c2d377;hb=6c1fb3e7631178c2a45c6c41b9b8d9ee3a5298fc;hp=75d7f37716c62048ba69365e28487449973b1b72;hpb=f138c7f993e1aaf5223c546da5292993a467ee8d;p=ffmpeg diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 75d7f37716c..68f49b5f1e8 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -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 */