misc typo and wording fixes
This commit is contained in:
parent
22662ca560
commit
09f211987c
@ -65,8 +65,8 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
|||||||
* @return non-zero if destination buffer is exhausted
|
* @return non-zero if destination buffer is exhausted
|
||||||
*
|
*
|
||||||
* a copy operation is achieved when 'gb' is set
|
* a copy operation is achieved when 'gb' is set
|
||||||
* a fill operation is acheived when 'gb' is null and pixel is >= 0
|
* a fill operation is achieved when 'gb' is null and pixel is >= 0
|
||||||
* a skip operation is acheived when 'gb' is null and pixel is < 0
|
* a skip operation is achieved when 'gb' is null and pixel is < 0
|
||||||
*/
|
*/
|
||||||
static inline int op(uint8_t **dst, const uint8_t *dst_end,
|
static inline int op(uint8_t **dst, const uint8_t *dst_end,
|
||||||
GetByteContext *gb,
|
GetByteContext *gb,
|
||||||
|
@ -548,9 +548,9 @@ typedef struct DSPContext {
|
|||||||
* @param src source array
|
* @param src source array
|
||||||
* constraints: 16-byte aligned
|
* constraints: 16-byte aligned
|
||||||
* @param min minimum value
|
* @param min minimum value
|
||||||
* constraints: must in the the range [-(1<<24), 1<<24]
|
* constraints: must be in the range [-(1 << 24), 1 << 24]
|
||||||
* @param max maximum value
|
* @param max maximum value
|
||||||
* constraints: must in the the range [-(1<<24), 1<<24]
|
* constraints: must be in the range [-(1 << 24), 1 << 24]
|
||||||
* @param len number of elements in the array
|
* @param len number of elements in the array
|
||||||
* constraints: multiple of 32 greater than zero
|
* constraints: multiple of 32 greater than zero
|
||||||
*/
|
*/
|
||||||
|
@ -1744,7 +1744,7 @@ static av_always_inline void backup_mb_border(H264Context *h, uint8_t *src_y,
|
|||||||
}
|
}
|
||||||
|
|
||||||
top_border = h->top_borders[top_idx][s->mb_x];
|
top_border = h->top_borders[top_idx][s->mb_x];
|
||||||
/* There are two lines saved, the line above the the top macroblock
|
/* There are two lines saved, the line above the top macroblock
|
||||||
* of a pair, and the line above the bottom macroblock. */
|
* of a pair, and the line above the bottom macroblock. */
|
||||||
AV_COPY128(top_border, src_y + 16 * linesize);
|
AV_COPY128(top_border, src_y + 16 * linesize);
|
||||||
if (pixel_shift)
|
if (pixel_shift)
|
||||||
@ -4375,7 +4375,7 @@ again:
|
|||||||
if (ff_h264_decode_seq_parameter_set(h) < 0 &&
|
if (ff_h264_decode_seq_parameter_set(h) < 0 &&
|
||||||
h->is_avc && (nalsize != consumed) && nalsize) {
|
h->is_avc && (nalsize != consumed) && nalsize) {
|
||||||
av_log(h->s.avctx, AV_LOG_DEBUG,
|
av_log(h->s.avctx, AV_LOG_DEBUG,
|
||||||
"SPS decoding failure, try parsing the coomplete NAL\n");
|
"SPS decoding failure, trying again with the complete NAL\n");
|
||||||
init_get_bits(&s->gb, buf + buf_index + 1 - consumed,
|
init_get_bits(&s->gb, buf + buf_index + 1 - consumed,
|
||||||
8 * (nalsize - 1));
|
8 * (nalsize - 1));
|
||||||
ff_h264_decode_seq_parameter_set(h);
|
ff_h264_decode_seq_parameter_set(h);
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
|
#define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Those FF_API_* defines are not part of public API.
|
* These FF_API_* defines are not part of the public API.
|
||||||
* They may change, break or disappear at any time.
|
* They may change, break or disappear at any time.
|
||||||
*/
|
*/
|
||||||
#ifndef FF_API_REQUEST_CHANNELS
|
#ifndef FF_API_REQUEST_CHANNELS
|
||||||
|
@ -147,7 +147,7 @@ struct xvmc_pix_fmt {
|
|||||||
*/
|
*/
|
||||||
int filled_mv_blocks_num;
|
int filled_mv_blocks_num;
|
||||||
|
|
||||||
/** Number of the the next free data block; one data block consists of
|
/** Number of the next free data block; one data block consists of
|
||||||
64 short values in the data_blocks array.
|
64 short values in the data_blocks array.
|
||||||
All blocks before this one have already been claimed by placing their
|
All blocks before this one have already been claimed by placing their
|
||||||
position into the corresponding block description structure field,
|
position into the corresponding block description structure field,
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
|
#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Those FF_API_* defines are not part of public API.
|
* These FF_API_* defines are not part of the public API.
|
||||||
* They may change, break or disappear at any time.
|
* They may change, break or disappear at any time.
|
||||||
*/
|
*/
|
||||||
#ifndef FF_API_AVFILTERPAD_PUBLIC
|
#ifndef FF_API_AVFILTERPAD_PUBLIC
|
||||||
|
@ -77,7 +77,7 @@ enum CodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type);
|
|||||||
#define RTCP_TX_RATIO_DEN 1000
|
#define RTCP_TX_RATIO_DEN 1000
|
||||||
|
|
||||||
/* An arbitrary id value for RTP Xiph streams - only relevant to indicate
|
/* An arbitrary id value for RTP Xiph streams - only relevant to indicate
|
||||||
* the the configuration has changed within a stream (by changing the
|
* that the configuration has changed within a stream (by changing the
|
||||||
* ident value sent).
|
* ident value sent).
|
||||||
*/
|
*/
|
||||||
#define RTP_XIPH_IDENT 0xfecdba
|
#define RTP_XIPH_IDENT 0xfecdba
|
||||||
|
@ -44,7 +44,7 @@
|
|||||||
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
|
#define LIBAVFORMAT_IDENT "Lavf" AV_STRINGIFY(LIBAVFORMAT_VERSION)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Those FF_API_* defines are not part of public API.
|
* These FF_API_* defines are not part of the public API.
|
||||||
* They may change, break or disappear at any time.
|
* They may change, break or disappear at any time.
|
||||||
*/
|
*/
|
||||||
#ifndef FF_API_CLOSE_INPUT_FILE
|
#ifndef FF_API_CLOSE_INPUT_FILE
|
||||||
|
@ -67,7 +67,7 @@ $EGREP $OPT '^\+ *(const *|)static' $*| $EGREP --color=always '[^=]= *(0|NULL)[^
|
|||||||
cat $TMP
|
cat $TMP
|
||||||
hiegrep '# *ifdef * (HAVE|CONFIG)_' 'ifdefs that should be #if' $*
|
hiegrep '# *ifdef * (HAVE|CONFIG)_' 'ifdefs that should be #if' $*
|
||||||
|
|
||||||
hiegrep '\b(awnser|cant|dont|wont|usefull|successfull|occured|teh|alot|wether|skiped|heigth|informations|colums|loosy|loosing|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention)\b' 'common typos' $*
|
hiegrep '\b(awnser|cant|dont|wont|usefull|successfull|occured|teh|alot|wether|skiped|heigth|informations|colums|loosy|loosing|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention|acheive)\b' 'common typos' $*
|
||||||
|
|
||||||
hiegrep 'av_log\( *NULL' 'Missing context in av_log' $*
|
hiegrep 'av_log\( *NULL' 'Missing context in av_log' $*
|
||||||
hiegrep '[^sn]printf' 'Please use av_log' $*
|
hiegrep '[^sn]printf' 'Please use av_log' $*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user