projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0728d7
)
Don't write an empty spdif header in spdif muxers write_header function before actual...
author
Joakim Plate
<elupus@ecce.se>
Wed, 7 Apr 2010 19:40:46 +0000
(19:40 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Wed, 7 Apr 2010 19:40:46 +0000
(19:40 +0000)
Patch by Elupus.
Originally committed as revision 22814 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/spdif.c
patch
|
blob
|
history
diff --git
a/libavformat/spdif.c
b/libavformat/spdif.c
index 95d2e206fa53b9706f17326a2d8a29a0cead2bd5..9b4a8617b769526fdc3ee929aa37a97959c6acfa 100644
(file)
--- a/
libavformat/spdif.c
+++ b/
libavformat/spdif.c
@@
-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;
}