| 697 | } |
| 698 | |
| 699 | static inline int skip_1stop_8data_bits(GetBitContext *gb) |
| 700 | { |
| 701 | if (get_bits_left(gb) <= 0) |
| 702 | return AVERROR_INVALIDDATA; |
| 703 | |
| 704 | while (get_bits1(gb)) { |
| 705 | skip_bits(gb, 8); |
| 706 | if (get_bits_left(gb) <= 0) |
| 707 | return AVERROR_INVALIDDATA; |
| 708 | } |
| 709 | |
| 710 | return 0; |
| 711 | } |
| 712 | |
| 713 | #endif // CACHED_BITSTREAM_READER |
| 714 |
no test coverage detected