Commit 5286d11f authored by Michel Bardiaux's avatar Michel Bardiaux

Spelling fix

Originally committed as revision 7989 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1d726a59
...@@ -849,7 +849,7 @@ int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, ...@@ -849,7 +849,7 @@ int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size,
const short *samples) const short *samples)
{ {
if(buf_size < FF_MIN_BUFFER_SIZE && 0){ if(buf_size < FF_MIN_BUFFER_SIZE && 0){
av_log(avctx, AV_LOG_ERROR, "buffer smaller then minimum size\n"); av_log(avctx, AV_LOG_ERROR, "buffer smaller than minimum size\n");
return -1; return -1;
} }
if((avctx->codec->capabilities & CODEC_CAP_DELAY) || samples){ if((avctx->codec->capabilities & CODEC_CAP_DELAY) || samples){
...@@ -871,7 +871,7 @@ int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, ...@@ -871,7 +871,7 @@ int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size,
const AVFrame *pict) const AVFrame *pict)
{ {
if(buf_size < FF_MIN_BUFFER_SIZE){ if(buf_size < FF_MIN_BUFFER_SIZE){
av_log(avctx, AV_LOG_ERROR, "buffer smaller then minimum size\n"); av_log(avctx, AV_LOG_ERROR, "buffer smaller than minimum size\n");
return -1; return -1;
} }
if(avcodec_check_dimensions(avctx,avctx->width,avctx->height)) if(avcodec_check_dimensions(avctx,avctx->width,avctx->height))
...@@ -939,7 +939,7 @@ int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples, ...@@ -939,7 +939,7 @@ int avcodec_decode_audio2(AVCodecContext *avctx, int16_t *samples,
//FIXME remove the check below _after_ ensuring that all audio check that the available space is enough //FIXME remove the check below _after_ ensuring that all audio check that the available space is enough
if(*frame_size_ptr < AVCODEC_MAX_AUDIO_FRAME_SIZE){ if(*frame_size_ptr < AVCODEC_MAX_AUDIO_FRAME_SIZE){
av_log(avctx, AV_LOG_ERROR, "buffer smaller then AVCODEC_MAX_AUDIO_FRAME_SIZE\n"); av_log(avctx, AV_LOG_ERROR, "buffer smaller than AVCODEC_MAX_AUDIO_FRAME_SIZE\n");
return -1; return -1;
} }
if(*frame_size_ptr < FF_MIN_BUFFER_SIZE || if(*frame_size_ptr < FF_MIN_BUFFER_SIZE ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment