Commit a1af505d authored by Michael Niedermayer's avatar Michael Niedermayer

roqaudioenc: remove dead code

Fixes CID703669
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4a229729
......@@ -168,7 +168,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
context->lastSample[1] &= 0xFF00;
}
if (context->input_frames == 7 || !in)
if (context->input_frames == 7)
data_size = avctx->channels * context->buffered_samples;
else
data_size = avctx->channels * avctx->frame_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment