Don't write an empty spdif header in spdif muxers write_header function before actual...
[ffmpeg.git] / libavformat / spdif.c
index 95d2e20..9b4a861 100644 (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;
 }