mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mlpenc: use ctx->num_substreams when writing headers
This commit is contained in:
parent
94abb4df32
commit
98857ece48
|
@ -667,7 +667,7 @@ static void write_major_sync(MLPEncodeContext *ctx, uint8_t *buf, int buf_size)
|
|||
put_bits(&pb, 16, 0 ); /* ignored */
|
||||
put_bits(&pb, 1, 1 ); /* is_vbr */
|
||||
put_bits(&pb, 15, ctx->coded_peak_bitrate );
|
||||
put_bits(&pb, 4, 1 ); /* num_substreams */
|
||||
put_bits(&pb, 4, ctx->num_substreams );
|
||||
put_bits(&pb, 2, 0 ); /* ignored */
|
||||
put_bits(&pb, 2, 0 ); /* extended substream info */
|
||||
|
||||
|
|
Loading…
Reference in New Issue