| 142 | } |
| 143 | |
| 144 | int avpriv_dca_parse_core_frame_header(DCACoreFrameHeader *h, const uint8_t *buf, int size) |
| 145 | { |
| 146 | GetBitContext gb; |
| 147 | int ret; |
| 148 | |
| 149 | ret = init_get_bits8(&gb, buf, size); |
| 150 | if (ret < 0) |
| 151 | return ret; |
| 152 | |
| 153 | if (ff_dca_parse_core_frame_header(h, &gb) < 0) |
| 154 | return AVERROR_INVALIDDATA; |
| 155 | |
| 156 | return 0; |
| 157 | } |
no test coverage detected