if (dst == dst_end)
return 0;
}
- return 0;
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
} else { /* nal_unit_type == NAL_SEI_SUFFIX */
return decode_nal_sei_suffix(s, payload_type, payload_size);
}
- return 1;
}
static int more_rbsp_data(GetBitContext *gb)
case 1:
case 3:
return old_codec1(ctx, top, left, w, h);
- break;
case 37:
return old_codec37(ctx, top, left, w, h);
- break;
case 47:
return old_codec47(ctx, top, left, w, h);
- break;
default:
avpriv_request_sample(ctx->avctx, "Subcodec %d", codec);
return AVERROR_PATCHWELCOME;
if (h->flags & AVIO_FLAG_NONBLOCK)
return AVERROR(EAGAIN);
}
- return len;
}
static int rtp_write(URLContext *h, const uint8_t *buf, int size)
return AVERROR_INVALIDDATA;
}
}
- return 0;
}
static int rtsp_probe(AVProbeData *p)
break;
default:
return AVERROR_INVALIDDATA;
- break;
}
}
if (!i || !*val)
return 0;
}
-
- return 0;
}
static int set_string_image_size(void *obj, const AVOption *o, const char *val, int *dst)