Lines Matching refs:read_result
247 int read_result;
251 read_result = ffurl_read_complete(mms->mms_hd, mms->in_buffer, 8);
252 if (read_result != 8) {
253 if(read_result < 0) {
256 read_result, strerror(AVUNERROR(read_result)));
271 read_result= ffurl_read_complete(mms->mms_hd, mms->in_buffer+8, 4);
272 if(read_result != 4) {
275 read_result,
276 read_result < 0 ? strerror(AVUNERROR(read_result)) :
278 return read_result < 0 ? read_result : AVERROR(EIO);
291 read_result = ffurl_read_complete(mms->mms_hd, mms->in_buffer + 12,
293 if (read_result != length_remaining) {
296 length_remaining, read_result,
297 read_result < 0 ? strerror(AVUNERROR(read_result)) :
299 return read_result < 0 ? read_result : AVERROR(EIO);
302 if (read_result >= 44 && (hr = AV_RL32(mms->in_buffer + 40))) {
329 read_result= ffurl_read_complete(mms->mms_hd, mms->in_buffer, length_remaining);
330 if(read_result != length_remaining) {
333 length_remaining, read_result,
334 read_result < 0 ? strerror(AVUNERROR(read_result)) :
336 return read_result < 0 ? read_result : AVERROR(EIO);