Commit c6cf6ae6 authored by Joakim Plate's avatar Joakim Plate Committed by Benjamin Larsson

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
parent e0728d79
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment