mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-22 05:41:03 +00:00
100l: Fix crash in SPDIF muxer.
Originally committed as revision 25762 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0985e1a3ca
commit
4b6bfbe2b7
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user