[FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use
Wang Bin
wbsecg1 at gmail.com
Sat Dec 16 07:40:18 EET 2017
> > + width = s->crop_right + 1 - s->crop_left;
> > + else
> > + width = s->width;
> >
> > av_log(avctx, AV_LOG_INFO,
> > "Output crop parameters top=%d bottom=%d left=%d right=%d, "
>
> On which device does this happen ?
None of my devices have such problem. It happens if replace jni by ndk
mediacodec functions(maybe another patch later). original code:
https://github.com/aosp-mirror/platform_frameworks_base/blob/master/media/java/android/media/MediaCodec.java#L190
More information about the ffmpeg-devel
mailing list