| 1358 | } |
| 1359 | |
| 1360 | static int check_slice_end(RV34DecContext *r, MpegEncContext *s) |
| 1361 | { |
| 1362 | int bits; |
| 1363 | if(s->mb_y >= s->mb_height) |
| 1364 | return 1; |
| 1365 | if (!r->mb_num_left) |
| 1366 | return 1; |
| 1367 | if (r->mb_skip_run > 1) |
| 1368 | return 0; |
| 1369 | bits = get_bits_left(&r->gb); |
| 1370 | if (bits <= 0 || (bits < 8 && !show_bits(&r->gb, bits))) |
| 1371 | return 1; |
| 1372 | return 0; |
| 1373 | } |
| 1374 | |
| 1375 | |
| 1376 | static void rv34_decoder_free(RV34DecContext *r) |
no test coverage detected