- if (ret == DECODE_SLICE_EOP) {
- if(s2->last_picture_ptr) //FIXME merge with the stuff in mpeg_decode_slice
- *data_size = sizeof(AVPicture);
- return FFMAX(0, buf_ptr - buf - s2->parse_context.last_index);
- }else if(ret < 0){
- if(ret == DECODE_SLICE_ERROR)