diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 1c43ea4c6a..a9ab710e55 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2676,7 +2676,7 @@ int avcodec_parse_frame(AVCodecContext *avctx, uint8_t **pdata, * @param[in] samples the input buffer containing the samples * The number of samples read from this buffer is frame_size*channels, * both of which are defined in \p avctx. - * @return On error a negative value is returned, on succes zero or the number + * @return On error a negative value is returned, on success zero or the number * of bytes used to encode the data read from the input buffer. */ int avcodec_encode_audio(AVCodecContext *avctx, uint8_t *buf, int buf_size, diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4449e9c70e..5ac2b23441 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -826,7 +826,7 @@ attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base, * @endcode * Returns the number of microseconds contained in a time interval * with the specified duration or INT64_MIN if \p datestr cannot be - * succesfully parsed. + * successfully parsed. * @param duration Flag which tells how to interpret \p datestr, if * not zero \p datestr is interpreted as a duration, otherwise as a * date.