| 785 | } |
| 786 | |
| 787 | static int test_sub_list( char ** list, int pos ) |
| 788 | { |
| 789 | int i; |
| 790 | |
| 791 | if ( list == NULL || pos == 0 ) |
| 792 | return 0; |
| 793 | |
| 794 | if ( list[0] == NULL && pos == 1 ) |
| 795 | return 1; |
| 796 | |
| 797 | for ( i = 0; list[i] != NULL; i++ ) |
| 798 | { |
| 799 | int idx = strtol( list[i], NULL, 0 ); |
| 800 | if ( idx == pos ) |
| 801 | return 1; |
| 802 | } |
| 803 | return 0; |
| 804 | } |
| 805 | |
| 806 | void write_chapter_names(hb_dict_t *job_dict, const char *marker_file) |
| 807 | { |
no outgoing calls
no test coverage detected