summaryrefslogtreecommitdiff
path: root/libavformat/avio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.h')
-rw-r--r--libavformat/avio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avio.h b/libavformat/avio.h
index 14d371f1ed..060f06e6f2 100644
--- a/libavformat/avio.h
+++ b/libavformat/avio.h
@@ -361,9 +361,8 @@ typedef struct {
#if FF_API_OLD_AVIO
typedef attribute_deprecated AVIOContext ByteIOContext;
-#endif
-int init_put_byte(AVIOContext *s,
+attribute_deprecated int init_put_byte(AVIOContext *s,
unsigned char *buffer,
int buffer_size,
int write_flag,
@@ -371,6 +370,7 @@ int init_put_byte(AVIOContext *s,
int (*read_packet)(void *opaque, uint8_t *buf, int buf_size),
int (*write_packet)(void *opaque, uint8_t *buf, int buf_size),
int64_t (*seek)(void *opaque, int64_t offset, int whence));
+#endif
AVIOContext *av_alloc_put_byte(
unsigned char *buffer,
int buffer_size,