changeset 5940:de489de0240a libavformat

Don't write an empty spdif header in spdif muxers write_header function before actual data starts. Patch by Elupus.
author banan
date Wed, 07 Apr 2010 19:40:46 +0000
parents b8a234311fc1
children bde9a4b67f86
files spdif.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/spdif.c	Mon Apr 05 19:50:45 2010 +0000
+++ b/spdif.c	Wed Apr 07 19:40:46 2010 +0000
@@ -238,10 +238,6 @@
         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;
 }