oanastratulat

Untitled

Jan 3rd, 2012
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. ea->sample_rate = ea->big_endian ? avio_rb32(pb) : avio_rl32(pb);
  2. ea->bytes = avio_r8(pb); /* 1=8-bit, 2=16-bit */
  3. if(ea->bytes == 0){
  4. av_log(s,AV_LOG_ERROR,"the file is corrupted, ea->bytes = 0\n");
  5. return AVERROR_INVALIDDATA;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment