~ubuntu-branches/ubuntu/utopic/libav/utopic-proposed

« back to all changes in this revision

Viewing changes to compat/getopt.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Reinhard Tartler, Rico Tzschichholz
  • Date: 2014-08-30 11:02:45 UTC
  • mfrom: (1.3.47 sid)
  • Revision ID: package-import@ubuntu.com-20140830110245-io3dg7q85wfr7125
Tags: 6:11~beta1-2
[ Reinhard Tartler ]
* Make libavcodec-dev depend on libavresample-dev

[ Rico Tzschichholz ]
* Some fixes and leftovers from soname bumps

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
            return EOF;
54
54
        }
55
55
    optopt = c = argv[optind][sp];
56
 
    if (c == ':' || (cp = strchr(opts, c)) == NULL) {
 
56
    if (c == ':' || !(cp = strchr(opts, c))) {
57
57
        fprintf(stderr, ": illegal option -- %c\n", c);
58
58
        if (argv[optind][++sp] == '\0') {
59
59
            optind++;