You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-10-06 05:47:18 +02:00
avcodec/libmpeghdec: Inline constant
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -236,7 +236,7 @@ static int mpegh3dadec_decode_frame(AVCodecContext *avctx, AVFrame *frame,
|
||||
|
||||
memcpy(frame->extended_data[0], s->decoder_buffer,
|
||||
avctx->ch_layout.nb_channels * avctx->frame_size *
|
||||
av_get_bytes_per_sample(avctx->sample_fmt));
|
||||
sizeof(*s->decoder_buffer) /* only AV_SAMPLE_FMT_S32 is supported */);
|
||||
|
||||
*got_frame_ptr = 1;
|
||||
return ret = avpkt->size;
|
||||
|
Reference in New Issue
Block a user