aboutsummaryrefslogtreecommitdiffstats
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
parent4c18562d020751249c671dde21f64f2b64375a62 (diff)
downloadffmpeg-4727611d489387aed926469ac757b2f1dfea3e33.tar.gz
ircamenc: 10l do not use avio_skip()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavformat/ircamenc.c3
-rw-r--r--tests/ref/lavf/ircam2
2 files changed, 3 insertions, 2 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;
}
diff --git a/tests/ref/lavf/ircam b/tests/ref/lavf/ircam
index 17c0b69efe..e29a7ada87 100644
--- a/tests/ref/lavf/ircam
+++ b/tests/ref/lavf/ircam
@@ -1,3 +1,3 @@
-26f9c402de811b0434b09aa1a2e5eee3 *./tests/data/lavf/lavf.ircam
+2cfae025de1b13098ef84a5e7f9947aa *./tests/data/lavf/lavf.ircam
91136 ./tests/data/lavf/lavf.ircam
./tests/data/lavf/lavf.ircam CRC=0xf1ae5536