summaryrefslogtreecommitdiff
path: root/libavformat/ircamenc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-12-05 13:46:35 +0000
committerPaul B Mahol <onemda@gmail.com>2012-12-05 13:46:35 +0000
commit4727611d489387aed926469ac757b2f1dfea3e33 (patch)
tree1e41fd78665b565a795d7501473e16c5d516dc07 /libavformat/ircamenc.c
parent4c18562d020751249c671dde21f64f2b64375a62 (diff)
downloadffmpeg-4727611d489387aed926469ac757b2f1dfea3e33.tar.gz
ircamenc: 10l do not use avio_skip()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/ircamenc.c')
-rw-r--r--libavformat/ircamenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/ircamenc.c b/libavformat/ircamenc.c
index d33a062387..38f15fbceb 100644
--- a/libavformat/ircamenc.c
+++ b/libavformat/ircamenc.c
@@ -21,6 +21,7 @@
#include "libavutil/intreadwrite.h"
#include "avformat.h"
+#include "avio_internal.h"
#include "internal.h"
#include "rawenc.h"
#include "ircam.h"
@@ -45,7 +46,7 @@ static int ircam_write_header(AVFormatContext *s)
avio_wl32(s->pb, av_float2int(codec->sample_rate));
avio_wl32(s->pb, codec->channels);
avio_wl32(s->pb, tag);
- avio_skip(s->pb, 1008);
+ ffio_fill(s->pb, 0, 1008);
return 0;
}