X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fshorten.c;h=d04011e4687bd3c9bd823ebe9bc6a81b16f6fada;hb=2b02bc64226ad645e6f97f955bff3fcaf731b25a;hp=66261d2a1a0106c20bde8765654a09a14e7e7ad6;hpb=9ca27df52fb4306a8e37c38d1ed9ab40c42a62dc;p=ffmpeg diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index 66261d2a1a0..d04011e4687 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -466,7 +466,7 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, s->cur_chan = 0; while (s->cur_chan < s->channels) { - int cmd; + unsigned int cmd; int len; if (get_bits_left(&s->gb) < 3+FNSIZE) { @@ -648,7 +648,7 @@ static av_cold int shorten_decode_close(AVCodecContext *avctx) AVCodec ff_shorten_decoder = { .name = "shorten", .type = AVMEDIA_TYPE_AUDIO, - .id = CODEC_ID_SHORTEN, + .id = AV_CODEC_ID_SHORTEN, .priv_data_size = sizeof(ShortenContext), .init = shorten_decode_init, .close = shorten_decode_close,