mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
avcodec/mlpenc: use ctx->num_substreams when writing headers
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user