diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-25 01:01:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-25 01:38:15 +0200 |
commit | a1af505d6640a89401f8e9941a38352a1ca49d58 (patch) | |
tree | 41321285a9f019323034f06c35f9f6f61160cd89 /libavcodec | |
parent | 4a2297294fa269e05aa2b3fe36b2ea231caa6dca (diff) | |
download | ffmpeg-a1af505d6640a89401f8e9941a38352a1ca49d58.tar.gz |
roqaudioenc: remove dead code
Fixes CID703669
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/roqaudioenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/roqaudioenc.c b/libavcodec/roqaudioenc.c index bbf9b979fd..ed5481f395 100644 --- a/libavcodec/roqaudioenc.c +++ b/libavcodec/roqaudioenc.c @@ -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; |