X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Findeo4.c;h=573718e374f9c9f1741d77fc6b179ad155090bf2;hb=04d382252456c6a03ddbabbf1abcd274f761e6cd;hp=e816330e530d6a34d2f004994aaa673073ef215e;hpb=1fbd3d30aee6ddfbe9d2ab3f70dc48c87464cf23;p=ffmpeg diff --git a/libavcodec/indeo4.c b/libavcodec/indeo4.c index e816330e530..573718e374f 100644 --- a/libavcodec/indeo4.c +++ b/libavcodec/indeo4.c @@ -94,7 +94,7 @@ typedef struct { } IVI4DecContext; -struct { +static const struct { InvTransformPtr *inv_trans; DCTransformPtr *dc_trans; int is_2d_trans; @@ -148,7 +148,7 @@ static int decode_plane_subdivision(GetBitContext *gb) static inline int scale_tile_size(int def_size, int size_factor) { - return (size_factor == 15 ? def_size : (size_factor + 1) << 5); + return size_factor == 15 ? def_size : (size_factor + 1) << 5; } /**