mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
e0728d7991
commit
c6cf6ae69d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user