diff options
author | Joakim Plate <elupus@ecce.se> | 2010-04-07 19:40:46 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2010-04-07 19:40:46 +0000 |
commit | c6cf6ae69d73572ac3a7479a76d5b34ac44e9fea (patch) | |
tree | 50bd417b6e4d5f209c09a369c1d91815c0285cd1 /libavformat/spdif.c | |
parent | e0728d799151d24b58f4a824bc97014b3b2473a4 (diff) | |
download | ffmpeg-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.c | 4 |
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; } |