]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqaudioenc.c
rtpenc_aac: Fix 10l bug
[ffmpeg] / libavcodec / roqaudioenc.c
index bbf9b979fdf932ae325358388f558bf16083741d..ed5481f39524cddf82a09ccf919eb9f908b1f5a5 100644 (file)
@@ -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;