243
245
return AVERROR_INVALIDDATA;
245
247
oc->rid = AV_RB32(&gdata[OMA_ENC_HEADER_SIZE + 28]);
246
av_log(s, AV_LOG_DEBUG, "RID: %.8x\n", oc->rid);
248
av_log(s, AV_LOG_DEBUG, "RID: %.8"PRIx32"\n", oc->rid);
248
250
memcpy(oc->iv, &header[0x58], 8);
249
251
hex_log(s, AV_LOG_DEBUG, "IV", oc->iv, 8);