~ubuntu-branches/ubuntu/gutsy/vorbis-tools/gutsy

« back to all changes in this revision

Viewing changes to ogg123/transport.c

  • Committer: Bazaar Package Importer
  • Author(s): Jesus Climent
  • Date: 2005-04-10 09:22:24 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050410092224-xtukpa3qghghhjje
Tags: 1.0.1-1.3
* Authorized NMU.
* Modified alsa to mention alsa09 (although the device might be nowadays
  alsa, back, since alsa1.0 has been already released). (Closes: #258286)
* Modified the manpage/help message for vorbiscomment to make it a bit more
  userfiendly: Closes: #252531.
* Added oggdec to the long description field, so that it triggers apt-cache
  searches: Closes: #274894.
* Typos in manpages: Closes: #302150.
* Escaped dashes in manpage: Closes: #264365.
* Quiet option is actually with -Q, not -q (Closes: #211289) Reported
  upstream but patched for Debian.
* Change input.wav with inputfile, since we accept flac-formated files:
  Closes: #262509.
* Translation bits:
  * Updated translation hu.po: Closes: #272037.
  * French translation correction: Encodage -> Codage (Closes: #248431).
  * debian/rules: remove .gmo's to avoid clash with uploaded tarball.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *                                                                  *
12
12
 ********************************************************************
13
13
 
14
 
 last mod: $Id: transport.c,v 1.2 2001/12/19 02:52:54 volsung Exp $
 
14
 last mod: $Id: transport.c,v 1.4 2002/05/05 03:45:04 segher Exp $
15
15
 
16
16
 ********************************************************************/
17
17
 
19
19
#include <string.h>
20
20
 
21
21
#include "transport.h"
 
22
#include "i18n.h"
22
23
 
23
24
extern transport_t file_transport;
 
25
#ifdef HAVE_CURL
24
26
extern transport_t http_transport;
 
27
#endif
25
28
 
26
 
transport_t *transports[] = { &http_transport, &file_transport, NULL };
 
29
transport_t *transports[] = {
 
30
#ifdef HAVE_CURL
 
31
  &http_transport,
 
32
#endif
 
33
  &file_transport,
 
34
  NULL
 
35
};
27
36
 
28
37
 
29
38
transport_t *get_transport_by_name (char *name)
55
64
  new_stats = malloc(sizeof(data_source_stats_t));
56
65
 
57
66
  if (new_stats == NULL) {
58
 
    fprintf(stderr, "Error: Could not allocate memory in malloc_data_source_stats()\n");
 
67
    fprintf(stderr, _("Error: Could not allocate memory in malloc_data_source_stats()\n"));
59
68
    exit(1);
60
69
  }
61
70