summaryrefslogtreecommitdiff
path: root/libavcodec/alacenc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-02-01 20:38:06 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-02-11 12:49:21 -0500
commit43a4cb070bf7588c53fd192e8fbc71a52fa14a4c (patch)
tree1b6db81affb6d8fcc3c6d9bf19fdadb7bf972386 /libavcodec/alacenc.c
parent7416d610362807848236ceff1bc6740dbc82842d (diff)
alacenc: remove unneeded frame_size check in alac_encode_frame()
Diffstat (limited to 'libavcodec/alacenc.c')
-rw-r--r--libavcodec/alacenc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 19708eb431..8130542121 100644
--- a/libavcodec/alacenc.c
+++ b/libavcodec/alacenc.c
@@ -492,11 +492,6 @@ static int alac_encode_frame(AVCodecContext *avctx, uint8_t *frame,
PutBitContext *pb = &s->pbctx;
int i, out_bytes, verbatim_flag = 0;
- if (avctx->frame_size > DEFAULT_FRAME_SIZE) {
- av_log(avctx, AV_LOG_ERROR, "input frame size exceeded\n");
- return -1;
- }
-
if (buf_size < 2 * s->max_coded_frame_size) {
av_log(avctx, AV_LOG_ERROR, "buffer size is too small\n");
return -1;