Ticket #2460: af_pan.patch

File af_pan.patch, 452 bytes (added by sghpunk, 3 years ago)
  • af_pan.c

    old new  
    6060    int64_t layout, layout0; 
    6161 
    6262    /* try to parse a channel name, e.g. "FL" */ 
    63     if (sscanf(*arg, "%7[A-Z]%n", buf, &len)) { 
     63    if (sscanf(*arg, " %7[A-Z] %n", buf, &len)) { 
    6464        layout0 = layout = av_get_channel_layout(buf); 
    6565        /* channel_id <- first set bit in layout */ 
    6666        for (i = 32; i > 0; i >>= 1) {