Unified · Split
| @@ -1534,20 +1534,19 @@ isorun(Biobuf *f) · 1533 unmodified lines | |||
| 1534 | Bseek(f, b.dstart+b.dsz, 0); | 1534 | Bseek(f, b.dstart+b.dsz, 0); |
| 1535 | } | 1535 | } |
| 1536 | 1536 | ||
| 1537 | if(trackdump != Nodump && dumptrack(f, trackdump) != 0){ | 1537 | if(trackdump != Nodump) |
| 1538 | return -1; | 1538 | return dumptrack(f, trackdump); |
| 1539 | }else{ | 1539 | |
| 1540 | for(i = 0; i < ntracks; i++){ | 1540 | for(i = 0; i < ntracks; i++){ |
| 1541 | t = &tracks[i]; | 1541 | t = &tracks[i]; |
| 1542 | Bprint(&out, "%d\t", t->id); | 1542 | Bprint(&out, "%d\t", t->id); |
| 1543 | if(t->handlertype == HandlerVideo) | 1543 | if(t->handlertype == HandlerVideo) |
| 1544 | Bprint(&out, "video\t%s\t%d\t%d", codec(t->video.format), t->video.width, t->video.height); | 1544 | Bprint(&out, "video\t%s\t%d\t%d", codec(t->video.format), t->video.width, t->video.height); |
| 1545 | else if(t->handlertype == HandlerAudio) | 1545 | else if(t->handlertype == HandlerAudio) |
| 1546 | Bprint(&out, "audio\t%s\t%d\t%d", codec(t->audio.format), t->audio.channels, t->audio.samplerate); | 1546 | Bprint(&out, "audio\t%s\t%d\t%d", codec(t->audio.format), t->audio.channels, t->audio.samplerate); |
| 1547 | else | 1547 | else |
| 1548 | Bprint(&out, "%T\t???", t->handlertype); | 1548 | Bprint(&out, "%T\t???", t->handlertype); |
| 1549 | Bprint(&out, "\n"); | 1549 | Bprint(&out, "\n"); |
| 1550 | } | ||
| 1551 | } | 1550 | } |
| 1552 | 1551 | ||
| 1553 | return 0; | 1552 | return 0; |