#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.h"
-#include "avio_internal.h"
#include "riff.h"
#include "rm.h"
}
if(type != 1){ // not whole frame
len2 = get_num(pb, &len);
- len2 = ffio_limit(pb, len2);
pos = get_num(pb, &len);
pic_num = avio_r8(pb); len--;
}
vst->videobufpos += len;
rm->remaining_len-= len;
- if(type == 2 || (vst->videobufpos) == vst->videobufsize){
+ if (type == 2 || vst->videobufpos == vst->videobufsize) {
vst->pkt.data[0] = vst->cur_slice-1;
*pkt= vst->pkt;
vst->pkt.data= NULL;