summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_latm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtpdec_latm.c')
-rw-r--r--libavformat/rtpdec_latm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c
index 255398df02..c6d865a650 100644
--- a/libavformat/rtpdec_latm.c
+++ b/libavformat/rtpdec_latm.c
@@ -68,7 +68,7 @@ static int latm_parse_packet(AVFormatContext *ctx, PayloadContext *data,
if ((ret = url_open_dyn_buf(&data->dyn_buf)) < 0)
return ret;
}
- put_buffer(data->dyn_buf, buf, len);
+ avio_write(data->dyn_buf, buf, len);
if (!(flags & RTP_FLAG_MARKER))
return AVERROR(EAGAIN);