Remove additional newline after "#EXTM3U" added in previous commit

Co-authored-by: Vadim Getmanshchuk <vagetman@users.noreply.github.com>
This commit is contained in:
Sebastian Dröge 2022-04-18 11:03:54 +03:00 committed by Sebastian Dröge
parent 85141f6a51
commit b692ac0808

View file

@ -87,7 +87,7 @@ impl MasterPlaylist {
}
pub fn write_to<T: Write>(&self, w: &mut T) -> std::io::Result<()> {
writeln!(w, "#EXTM3U\n")?;
writeln!(w, "#EXTM3U")?;
if let Some(ref v) = self.version {
writeln!(w, "#EXT-X-VERSION:{}", v)?;
@ -429,7 +429,7 @@ pub struct MediaPlaylist {
impl MediaPlaylist {
pub fn write_to<T: Write>(&self, w: &mut T) -> std::io::Result<()> {
writeln!(w, "#EXTM3U\n")?;
writeln!(w, "#EXTM3U")?;
if let Some(ref v) = self.version {
writeln!(w, "#EXT-X-VERSION:{}", v)?;