aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-07 02:11:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-07 02:29:31 +0200
commitb93cb8383fec0aa95b735fcd97eff03425e79bc1 (patch)
treecb6807ba58e1ae79160f88ffb8662650c8458f23 /libavcodec/internal.h
parent5ec55d216ef05ceb877a158c7d65e072df8b71f9 (diff)
downloadffmpeg-b93cb8383fec0aa95b735fcd97eff03425e79bc1.tar.gz
lavc: add ff_init_buffer_info()
Fixes seeking per fileposition in ffplay. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 75d7f37716..68f49b5f1e 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 */