Reads and decodes block data successively. */
| 969 | /** Reads and decodes block data successively. |
| 970 | */ |
| 971 | static int read_decode_block(ALSDecContext *ctx, ALSBlockData *bd) |
| 972 | { |
| 973 | int ret; |
| 974 | |
| 975 | ret = read_block(ctx, bd); |
| 976 | |
| 977 | if (ret) |
| 978 | return ret; |
| 979 | |
| 980 | ret = decode_block(ctx, bd); |
| 981 | |
| 982 | return ret; |
| 983 | } |
| 984 | |
| 985 | |
| 986 | /** Computes the number of samples left to decode for the current frame and |
no test coverage detected