Fixes CID703669
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -168,7 +168,7 @@ static int roq_dpcm_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, |
168 | 168 |
context->lastSample[1] &= 0xFF00; |
169 | 169 |
} |
170 | 170 |
|
171 |
- if (context->input_frames == 7 || !in) |
|
171 |
+ if (context->input_frames == 7) |
|
172 | 172 |
data_size = avctx->channels * context->buffered_samples; |
173 | 173 |
else |
174 | 174 |
data_size = avctx->channels * avctx->frame_size; |