Unified · Split
| @@ -763,7 +763,7 @@ static int apply_cropping(AVCodecContext *avctx, AVFrame *frame) · 762 unmodified lines | |||
| 763 | 763 | ||
| 764 | /* adjust the offsets to avoid breaking alignment */ | 764 | /* adjust the offsets to avoid breaking alignment */ |
| 765 | if (!(avctx->flags & AV_CODEC_FLAG_UNALIGNED)) { | 765 | if (!(avctx->flags & AV_CODEC_FLAG_UNALIGNED)) { |
| 766 | int log2_crop_align = frame->crop_left ? av_ctz(frame->crop_left) : INT_MAX; | 766 | int log2_crop_align = frame->crop_left ? ff_ctz(frame->crop_left) : INT_MAX; |
| 767 | int min_log2_align = INT_MAX; | 767 | int min_log2_align = INT_MAX; |
| 768 | 768 | ||
| 769 | for (i = 0; frame->data[i]; i++) { | 769 | for (i = 0; frame->data[i]; i++) { |