Revision bec89a84 libavcodec/apiexample.c

View differences:

libavcodec/apiexample.c
413 413
	int depth = 0;
414 414
	for (;;) {
415 415
	    if (!c->name) {
416
		if (c->sub) {
416
		if (c->help) {
417 417
		    stack[depth++] = c;
418
		    c = c->sub;
418
		    c = (const AVOption*)c->help;
419 419
		} else {
420 420
		    if (depth == 0)
421 421
			break; // finished

Also available in: Unified diff