Lines Matching refs:ret
44 int ret = 0;
63 ret = AVERROR_INVALIDDATA;
71 ret = AVERROR_INVALIDDATA;
74 ret = av_reallocp(&new_extradata, new_extradata_size + nalu_len + 4 + AV_INPUT_BUFFER_PADDING_SIZE);
75 if (ret < 0)
95 return ret;
101 int ret;
109 ret = hevc_extradata_to_annexb(ctx);
110 if (ret < 0)
111 return ret;
112 s->length_size = ret;
126 int i, ret = 0;
128 ret = ff_bsf_get_packet(ctx, &in);
129 if (ret < 0)
130 return ret;
146 ret = AVERROR_INVALIDDATA;
153 ret = AVERROR_INVALIDDATA;
166 ret = AVERROR_INVALIDDATA;
172 ret = av_grow_packet(out, 4 + nalu_size + extra_size);
173 if (ret < 0)
182 ret = av_packet_copy_props(out, in);
183 if (ret < 0)
187 if (ret < 0)
191 return ret;