Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ea->sample_rate = ea->big_endian ? avio_rb32(pb) : avio_rl32(pb);
- ea->bytes = avio_r8(pb); /* 1=8-bit, 2=16-bit */
- if(ea->bytes == 0){
- av_log(s,AV_LOG_ERROR,"the file is corrupted, ea->bytes = 0\n");
- return AVERROR_INVALIDDATA;
- }
- ea->num_channels = avio_r8(pb);
Advertisement
Add Comment
Please, Sign In to add comment