aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/spdif.c
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2010-04-07 19:40:46 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2010-04-07 19:40:46 +0000
commitc6cf6ae69d73572ac3a7479a76d5b34ac44e9fea (patch)
tree50bd417b6e4d5f209c09a369c1d91815c0285cd1 /libavformat/spdif.c
parente0728d799151d24b58f4a824bc97014b3b2473a4 (diff)
downloadffmpeg-c6cf6ae69d73572ac3a7479a76d5b34ac44e9fea.tar.gz
Don't write an empty spdif header in spdif muxers write_header function before actual data starts.
Patch by Elupus. Originally committed as revision 22814 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/spdif.c')
-rw-r--r--libavformat/spdif.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/spdif.c b/libavformat/spdif.c
index 95d2e206fa..9b4a8617b7 100644
--- a/libavformat/spdif.c
+++ b/libavformat/spdif.c
@@ -238,10 +238,6 @@ static int spdif_write_header(AVFormatContext *s)
av_log(s, AV_LOG_ERROR, "codec not supported\n");
return -1;
}
- put_le16(s->pb, 0);
- put_le16(s->pb, 0);
- put_le16(s->pb, 0);
- put_le16(s->pb, 0);
return 0;
}