Mercurial > libavformat.hg
comparison ogg2.c @ 885:da1d5db0ce5c libavformat
COSMETICS: Remove all trailing whitespace.
author | diego |
---|---|
date | Sat, 17 Dec 2005 18:14:38 +0000 |
parents | 7e42b4e47dfc |
children | d70e50f1495f |
comparison
equal
deleted
inserted
replaced
884:2ece9c9dd94c | 885:da1d5db0ce5c |
---|---|
1 /* | 1 /* |
2 * Ogg bitstream support | 2 * Ogg bitstream support |
3 * Luca Barbato <lu_zero@gentoo.org> | 3 * Luca Barbato <lu_zero@gentoo.org> |
4 * Based on tcvp implementation | 4 * Based on tcvp implementation |
5 * | 5 * |
6 */ | 6 */ |
7 | 7 |
8 /** | 8 /** |
9 Copyright (C) 2005 Michael Ahlberg, Måns Rullgård | 9 Copyright (C) 2005 Michael Ahlberg, Måns Rullgård |
10 | 10 |
501 { | 501 { |
502 ogg_t *ogg; | 502 ogg_t *ogg; |
503 ogg_stream_t *os; | 503 ogg_stream_t *os; |
504 int idx = -1; | 504 int idx = -1; |
505 | 505 |
506 //Get an ogg packet | 506 //Get an ogg packet |
507 do{ | 507 do{ |
508 if (ogg_packet (s, &idx) < 0) | 508 if (ogg_packet (s, &idx) < 0) |
509 return AVERROR_IO; | 509 return AVERROR_IO; |
510 }while (idx < 0 || !s->streams[idx]); | 510 }while (idx < 0 || !s->streams[idx]); |
511 | 511 |
641 ogg_probe, | 641 ogg_probe, |
642 ogg_read_header, | 642 ogg_read_header, |
643 ogg_read_packet, | 643 ogg_read_packet, |
644 ogg_read_close, | 644 ogg_read_close, |
645 ogg_read_seek, | 645 ogg_read_seek, |
646 // ogg_read_timestamp, | 646 // ogg_read_timestamp, |
647 .extensions = "ogg", | 647 .extensions = "ogg", |
648 }; | 648 }; |
649 | 649 |
650 int | 650 int |
651 ogg_init (void) | 651 ogg_init (void) |