diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-11-17 23:23:25 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-11-17 23:23:25 +0000 |
commit | 4b6bfbe2b70ea87831fa9a42a2ac112ee8a386d2 (patch) | |
tree | 5206369ac4f18ed17120482d2638121421825494 /libavformat/spdifenc.c | |
parent | 0985e1a3ca52436741b95907d9d1c90a42f839b1 (diff) | |
download | ffmpeg-4b6bfbe2b70ea87831fa9a42a2ac112ee8a386d2.tar.gz |
100l: Fix crash in SPDIF muxer.
Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r-- | libavformat/spdifenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index ed02b2e8f2..0dcf98ce0b 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -253,6 +253,7 @@ static int spdif_write_packet(struct AVFormatContext *s, AVPacket *pkt) IEC958Context *ctx = s->priv_data; int ret, padding; + ctx->out_buf = pkt->data; ctx->out_bytes = pkt->size; ctx->length_code = FFALIGN(pkt->size, 2) << 3; |