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
This commit is contained in:
Joakim Plate 2010-04-07 19:40:46 +00:00 committed by Benjamin Larsson
parent e0728d7991
commit c6cf6ae69d
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}