git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7416d61
)
alacenc: remove unneeded frame_size check in alac_encode_frame()
author
Justin Ruggles
<justin.ruggles@gmail.com>
Thu, 2 Feb 2012 01:38:06 +0000
(20:38 -0500)
committer
Justin Ruggles
<justin.ruggles@gmail.com>
Sat, 11 Feb 2012 17:49:21 +0000
(12:49 -0500)
libavcodec/alacenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/alacenc.c
b/libavcodec/alacenc.c
index
19708eb
..
8130542
100644
(file)
--- 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;