mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
roqaudioenc: remove dead code
Fixes CID703669 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
4a2297294f
commit
a1af505d66
@ -168,7 +168,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
|||||||
context->lastSample[1] &= 0xFF00;
|
context->lastSample[1] &= 0xFF00;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (context->input_frames == 7 || !in)
|
if (context->input_frames == 7)
|
||||||
data_size = avctx->channels * context->buffered_samples;
|
data_size = avctx->channels * context->buffered_samples;
|
||||||
else
|
else
|
||||||
data_size = avctx->channels * avctx->frame_size;
|
data_size = avctx->channels * avctx->frame_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user