diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 9339251c6ecce15998c0b3bc1d1369e29141f728..080cfc4b1228fb1c05f99ad1aee72d0f05a8c823 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -5741,7 +5741,7 @@ static int decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int n return 0; } -static void inline compute_mb_neighboors(H264Context *h) +static void inline compute_mb_neighbors(H264Context *h) { MpegEncContext * const s = &h->s; const int mb_xy = s->mb_x + s->mb_y*s->mb_stride; @@ -5801,7 +5801,7 @@ static int decode_mb_cabac(H264Context *h) { h->prev_mb_skipped = 0; - compute_mb_neighboors(h); + compute_mb_neighbors(h); if( ( mb_type = decode_cabac_mb_type( h ) ) < 0 ) { av_log( h->s.avctx, AV_LOG_ERROR, "decode_cabac_mb_type failed\n" ); return -1; diff --git a/libavcodec/raw.c b/libavcodec/raw.c index a2edef38577401ef9bb3b0945ba3b53fdb732e8e..8ead17e066f6733e004cdac2ebf47ea53f129043 100644 --- a/libavcodec/raw.c +++ b/libavcodec/raw.c @@ -31,7 +31,7 @@ typedef struct RawVideoContext { AVFrame pic; ///< AVCodecContext.coded_frame } RawVideoContext; -typedef struct PixleFormatTag { +typedef struct PixelFormatTag { int pix_fmt; unsigned int fourcc; } PixelFormatTag;