decoder/ffmpeg: move functions into the AvioStream struct

This commit is contained in:
Max Kellermann
2014-12-22 21:58:25 +01:00
parent 373706c92b
commit a2c6d5e148
2 changed files with 37 additions and 20 deletions

View File

@@ -45,6 +45,13 @@ struct AvioStream {
~AvioStream();
bool Open();
private:
int Read(void *buffer, int size);
int64_t Seek(int64_t pos, int whence);
static int _Read(void *opaque, uint8_t *buf, int size);
static int64_t _Seek(void *opaque, int64_t pos, int whence);
};
#endif