Commit 4b6bfbe2 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

100l: Fix crash in SPDIF muxer.

Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 0985e1a3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment