Lines Matching defs:err
113 static bool check_err(int err, const int silentList[] = nullptr) {
114 if (err >= 0) {
120 if (*silentList == err) {
129 if (av_strerror(err, errbuf, sizeof(errbuf)) < 0) {
130 errbuf_ptr = strerror(AVUNERROR(err));
369 int err = avformat_open_input(&fFormatCtx, nullptr, nullptr, nullptr);
370 if (err < 0) {
371 SkDebugf("avformat_open_input failed %d\n", err);
387 if ((err = avcodec_parameters_to_context(fDecoderCtx, strm->codecpar)) < 0) {
388 SkDebugf("avcodec_parameters_to_context failed %d\n", err);
393 if ((err = avcodec_open2(fDecoderCtx, codec, nullptr)) < 0) {
394 SkDebugf("avcodec_open2 failed %d\n", err);