aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/spdifenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-21 20:02:20 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-22 02:44:38 +0100
commit2df9d0008ee34f99212f8c9820bd858ff8b64642 (patch)
tree5cc663e6bafeb85495f5c34473bf8e7f2fafcf76 /libavformat/spdifenc.c
parente9eb8d0bcecd656292856698f603a841a82cc9c6 (diff)
downloadffmpeg-2df9d0008ee34f99212f8c9820bd858ff8b64642.tar.gz
avio: make put_nbyte internal.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 0ac8e2bf2bf3d636241bf2811018d9974687a63c)
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r--libavformat/spdifenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 8c0ee70e2c..90ac8adc9f 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -525,7 +525,7 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt)
if (ctx->out_bytes & 1)
spdif_put_16(ctx, s->pb, ctx->out_buf[ctx->out_bytes - 1] << 8);
- put_nbyte(s->pb, 0, padding);
+ ffio_fill(s->pb, 0, padding);
av_log(s, AV_LOG_DEBUG, "type=%x len=%i pkt_offset=%i\n",
ctx->data_type, ctx->out_bytes, ctx->pkt_offset);