Browse code

roqaudioenc: remove dead code

Fixes CID703669
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2012/10/25 08:01:17
Showing 1 changed files
... ...
@@ -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;