[FFmpeg-cvslog] r22814 - trunk/libavformat/spdif.c

banan subversion
Wed Apr 7 21:40:46 CEST 2010


Author: banan
Date: Wed Apr  7 21:40:46 2010
New Revision: 22814

Log:
Don't write an empty spdif header in spdif muxers write_header function before actual data starts.
Patch by Elupus.

Modified:
   trunk/libavformat/spdif.c

Modified: trunk/libavformat/spdif.c
==============================================================================
--- trunk/libavformat/spdif.c	Wed Apr  7 03:05:24 2010	(r22813)
+++ trunk/libavformat/spdif.c	Wed Apr  7 21:40:46 2010	(r22814)
@@ -238,10 +238,6 @@ static int spdif_write_header(AVFormatCo
         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;
 }
 



More information about the ffmpeg-cvslog mailing list